Package com.teamdev.jxbrowser.net
Enum Class UrlRequestStatus
- All Implemented Interfaces:
Serializable,Comparable<UrlRequestStatus>,Constable
The URL request statuses.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn unknown request status.A request was cancelled programmatically.A request failed for some reason.An IO request is pending.A request succeeded. -
Method Summary
Modifier and TypeMethodDescriptionstatic UrlRequestStatusReturns the enum constant of this class with the specified name.static UrlRequestStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
UNKNOWN
An unknown request status. -
URL_REQUEST_STATUS_SUCCESS
A request succeeded. -
URL_REQUEST_STATUS_IO_PENDING
An IO request is pending. It is expected that the request issuer will be informed when it is completed. -
URL_REQUEST_STATUS_CANCELED
A request was cancelled programmatically. -
URL_REQUEST_STATUS_FAILED
A request failed for some reason.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-