Enum Request.RequestType
- java.lang.Object
-
- java.lang.Enum<Request.RequestType>
-
- org.forgerock.opendj.ldap.messages.Request.RequestType
-
- All Implemented Interfaces:
Serializable
,Comparable<Request.RequestType>
- Enclosing interface:
- Request
public static enum Request.RequestType extends Enum<Request.RequestType>
The type of this request. Components like access logging can rely on the string representation, for example by callingrequest.getType().name()
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getProtocolOperationType()
Returns the protocol operation type.static Request.RequestType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Request.RequestType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABANDON
public static final Request.RequestType ABANDON
-
ADD
public static final Request.RequestType ADD
-
BIND
public static final Request.RequestType BIND
-
COMPARE
public static final Request.RequestType COMPARE
-
DELETE
public static final Request.RequestType DELETE
-
EXTENDED
public static final Request.RequestType EXTENDED
-
MODIFYDN
public static final Request.RequestType MODIFYDN
-
MODIFY
public static final Request.RequestType MODIFY
-
SEARCH
public static final Request.RequestType SEARCH
-
UNBIND
public static final Request.RequestType UNBIND
-
UNKNOWN
public static final Request.RequestType UNKNOWN
-
INVALID
public static final Request.RequestType INVALID
-
-
Method Detail
-
values
public static Request.RequestType[] 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 (Request.RequestType c : Request.RequestType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Request.RequestType 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
-
getProtocolOperationType
public byte getProtocolOperationType()
Returns the protocol operation type.- Returns:
- the protocol operation type
-
-