Back to Acra

HttpSender.Method

web/static/javadoc/5.4.0/org/acra/sender/HttpSender.Method.html

latest5.4 KB
Original Source

Skip navigation links

org.acra.sender

Enum HttpSender.Method


public static enumHttpSender.Methodextends[Enum](http://d.android.com/reference/java/lang/Enum.html?is-external=true "class or interface in java.lang")<[HttpSender.Method](../../../org/acra/sender/HttpSender.Method.html "enum in org.acra.sender")>

Available HTTP methods to send data. Only POST and PUT are currently supported.

Enum Constant Summary

Enum Constants | Enum Constant and Description | | --- | | POST | | PUT |

Method Summary

All Methods Static Methods Concrete Methods | Modifier and Type | Method and Description | | --- | --- | | static HttpSender.Method | valueOf(String name) Returns the enum constant of this type with the specified name. | | static HttpSender.Method[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |

- 

Methods inherited from class java.lang.Enum

clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

- 

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

Enum Constant Detail

- 

POST

public static final[HttpSender.Method](../../../org/acra/sender/HttpSender.Method.html "enum in org.acra.sender")POST
- 

PUT

public static final[HttpSender.Method](../../../org/acra/sender/HttpSender.Method.html "enum in org.acra.sender")PUT

Method Detail

- 

values

public static[HttpSender.Method](../../../org/acra/sender/HttpSender.Method.html "enum in org.acra.sender")[] values()

Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

for (HttpSender.Method c : HttpSender.Method.values())
    System.out.println(c);

Returns:an array containing the constants of this enum type, in the order they are declared

- 

valueOf

public static[HttpSender.Method](../../../org/acra/sender/HttpSender.Method.html "enum in org.acra.sender")valueOf([String](http://d.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) Parameters:name - the name of the enum constant to be returned.Returns:the enum constant with the specified nameThrows:IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null

Skip navigation links