Enum HttpCredentialTransport.Type
- java.lang.Object
-
- java.lang.Enum<HttpCredentialTransport.Type>
-
- io.quarkus.vertx.http.runtime.security.HttpCredentialTransport.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<HttpCredentialTransport.Type>
- Enclosing class:
- HttpCredentialTransport
public static enum HttpCredentialTransport.Type extends Enum<HttpCredentialTransport.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHORIZATION
Auth header, type target is the auth type (basic, bearer etc)AUTHORIZATION_CODE
Authorization code, type target is the query 'code' parameterCOOKIE
A cookie.OTHER_HEADER
A different header, type target is the header namePOST
A post request, target is the POST URIX509
X509
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpCredentialTransport.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static HttpCredentialTransport.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COOKIE
public static final HttpCredentialTransport.Type COOKIE
A cookie. The type target is the cookie name
-
AUTHORIZATION
public static final HttpCredentialTransport.Type AUTHORIZATION
Auth header, type target is the auth type (basic, bearer etc)
-
OTHER_HEADER
public static final HttpCredentialTransport.Type OTHER_HEADER
A different header, type target is the header name
-
POST
public static final HttpCredentialTransport.Type POST
A post request, target is the POST URI
-
X509
public static final HttpCredentialTransport.Type X509
X509
-
AUTHORIZATION_CODE
public static final HttpCredentialTransport.Type AUTHORIZATION_CODE
Authorization code, type target is the query 'code' parameter
-
-
Method Detail
-
values
public static HttpCredentialTransport.Type[] 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 (HttpCredentialTransport.Type c : HttpCredentialTransport.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpCredentialTransport.Type valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-