Package org.basex.util.http
Enum Class HttpText.Request
- All Implemented Interfaces:
Serializable,Comparable<HttpText.Request>,java.lang.constant.Constable
- Enclosing interface:
- HttpText
Request attributes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlgorithm.Auth-method.Cnonce.Follow-redirect.Href.Method.NC.Nonce.Opaque.Override-media-type.Password.QOP.Realm.Response.Send-authorization.Status-only.Timeout.URI.Username. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpText.RequestReturns an enum for the specified string.toString()static HttpText.RequestReturns the enum constant of this class with the specified name.static HttpText.Request[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NC
NC. -
QOP
QOP. -
URI
URI. -
HREF
Href. -
NONCE
Nonce. -
REALM
Realm. -
OPAQUE
Opaque. -
CNONCE
Cnonce. -
METHOD
Method. -
TIMEOUT
Timeout. -
RESPONSE
Response. -
PASSWORD
Password. -
USERNAME
Username. -
ALGORITHM
Algorithm. -
AUTH_METHOD
Auth-method. -
STATUS_ONLY
Status-only. -
FOLLOW_REDIRECT
Follow-redirect. -
SEND_AUTHORIZATION
Send-authorization. -
OVERRIDE_MEDIA_TYPE
Override-media-type.
-
-
Field Details
-
VALUES
Cached enums (faster).
-
-
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
-
get
Returns an enum for the specified string.- Parameters:
key- key- Returns:
- enum or
null
-
toString
- Overrides:
toStringin classEnum<HttpText.Request>
-