Package com.avsystem.anjay
Enum AnjayDownload.ResultDetails
- java.lang.Object
-
- java.lang.Enum<AnjayDownload.ResultDetails>
-
- com.avsystem.anjay.AnjayDownload.ResultDetails
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AnjayDownload.ResultDetails>
- Enclosing class:
- AnjayDownload
public static enum AnjayDownload.ResultDetails extends java.lang.Enum<AnjayDownload.ResultDetails>
Details about error occured during download.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_LOSTDNS_RESOLUTION_FAILEDFAILED_TO_PARSE_RESPONSEINTERNAL_ERRORMESSAGE_TOO_LARGENOT_FOUNDNOT_IMPLEMENTEDOUT_OF_MEMORYREMOTE_RESOURCE_NO_LONGER_VALIDSERVER_RESPONDED_WITH_RESETTIMEOUTUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AnjayDownload.ResultDetailsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AnjayDownload.ResultDetails[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DNS_RESOLUTION_FAILED
public static final AnjayDownload.ResultDetails DNS_RESOLUTION_FAILED
-
REMOTE_RESOURCE_NO_LONGER_VALID
public static final AnjayDownload.ResultDetails REMOTE_RESOURCE_NO_LONGER_VALID
-
SERVER_RESPONDED_WITH_RESET
public static final AnjayDownload.ResultDetails SERVER_RESPONDED_WITH_RESET
-
CONNECTION_LOST
public static final AnjayDownload.ResultDetails CONNECTION_LOST
-
FAILED_TO_PARSE_RESPONSE
public static final AnjayDownload.ResultDetails FAILED_TO_PARSE_RESPONSE
-
INTERNAL_ERROR
public static final AnjayDownload.ResultDetails INTERNAL_ERROR
-
MESSAGE_TOO_LARGE
public static final AnjayDownload.ResultDetails MESSAGE_TOO_LARGE
-
OUT_OF_MEMORY
public static final AnjayDownload.ResultDetails OUT_OF_MEMORY
-
TIMEOUT
public static final AnjayDownload.ResultDetails TIMEOUT
-
NOT_FOUND
public static final AnjayDownload.ResultDetails NOT_FOUND
-
NOT_IMPLEMENTED
public static final AnjayDownload.ResultDetails NOT_IMPLEMENTED
-
UNKNOWN
public static final AnjayDownload.ResultDetails UNKNOWN
-
-
Method Detail
-
values
public static AnjayDownload.ResultDetails[] 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 (AnjayDownload.ResultDetails c : AnjayDownload.ResultDetails.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnjayDownload.ResultDetails valueOf(java.lang.String 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 name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-