Enum WsSecuredRequestBuilder.OAuthGrantType
- java.lang.Object
-
- java.lang.Enum<WsSecuredRequestBuilder.OAuthGrantType>
-
- de.hybris.platform.webservicescommons.testsupport.client.WsSecuredRequestBuilder.OAuthGrantType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<WsSecuredRequestBuilder.OAuthGrantType>
- Enclosing class:
- WsSecuredRequestBuilder
public static enum WsSecuredRequestBuilder.OAuthGrantType extends java.lang.Enum<WsSecuredRequestBuilder.OAuthGrantType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_CREDENTIALSRESOURCE_OWNER_PASSWORD_CREDENTIALS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WsSecuredRequestBuilder.OAuthGrantTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WsSecuredRequestBuilder.OAuthGrantType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE_OWNER_PASSWORD_CREDENTIALS
public static final WsSecuredRequestBuilder.OAuthGrantType RESOURCE_OWNER_PASSWORD_CREDENTIALS
-
CLIENT_CREDENTIALS
public static final WsSecuredRequestBuilder.OAuthGrantType CLIENT_CREDENTIALS
-
-
Method Detail
-
values
public static WsSecuredRequestBuilder.OAuthGrantType[] 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 (WsSecuredRequestBuilder.OAuthGrantType c : WsSecuredRequestBuilder.OAuthGrantType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WsSecuredRequestBuilder.OAuthGrantType 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
-
-