Package org.jboss.resteasy.client.core
Enum ClientInterceptorRepositoryImpl.InterceptorType
- java.lang.Object
-
- java.lang.Enum<ClientInterceptorRepositoryImpl.InterceptorType>
-
- org.jboss.resteasy.client.core.ClientInterceptorRepositoryImpl.InterceptorType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClientInterceptorRepositoryImpl.InterceptorType>
- Enclosing class:
- ClientInterceptorRepositoryImpl
private static enum ClientInterceptorRepositoryImpl.InterceptorType extends java.lang.Enum<ClientInterceptorRepositoryImpl.InterceptorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ClientExecution
MessageBodyReader
MessageBodyWriter
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.Class<?>
clazz
-
Constructor Summary
Constructors Modifier Constructor Description private
InterceptorType(java.lang.Class<?> clazz)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientInterceptorRepositoryImpl.InterceptorType
getInterceptorTypeFor(java.lang.Class<?> type)
static ClientInterceptorRepositoryImpl.InterceptorType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClientInterceptorRepositoryImpl.InterceptorType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MessageBodyReader
public static final ClientInterceptorRepositoryImpl.InterceptorType MessageBodyReader
-
MessageBodyWriter
public static final ClientInterceptorRepositoryImpl.InterceptorType MessageBodyWriter
-
ClientExecution
public static final ClientInterceptorRepositoryImpl.InterceptorType ClientExecution
-
-
Method Detail
-
values
public static ClientInterceptorRepositoryImpl.InterceptorType[] 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 (ClientInterceptorRepositoryImpl.InterceptorType c : ClientInterceptorRepositoryImpl.InterceptorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientInterceptorRepositoryImpl.InterceptorType 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
-
getInterceptorTypeFor
public static ClientInterceptorRepositoryImpl.InterceptorType getInterceptorTypeFor(java.lang.Class<?> type)
-
-