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().
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABANDONAbandon request type.ADDAdd request type.BINDBind request type.COMPARECompare request type.DELETEDelete request type.EXTENDEDExtended request type.INVALIDInvalid request type.MODIFYModify request type.MODIFYDNModify DN request type.SEARCHSearch request type.UNBINDUnbind request type.UNKNOWNUnknown request type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetProtocolOperationType()Returns the protocol operation type.static Request.RequestTypevalueOf(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
Abandon request type.
-
ADD
public static final Request.RequestType ADD
Add request type.
-
BIND
public static final Request.RequestType BIND
Bind request type.
-
COMPARE
public static final Request.RequestType COMPARE
Compare request type.
-
DELETE
public static final Request.RequestType DELETE
Delete request type.
-
EXTENDED
public static final Request.RequestType EXTENDED
Extended request type.
-
MODIFYDN
public static final Request.RequestType MODIFYDN
Modify DN request type.
-
MODIFY
public static final Request.RequestType MODIFY
Modify request type.
-
SEARCH
public static final Request.RequestType SEARCH
Search request type.
-
UNBIND
public static final Request.RequestType UNBIND
Unbind request type.
-
UNKNOWN
public static final Request.RequestType UNKNOWN
Unknown request type.
-
INVALID
public static final Request.RequestType INVALID
Invalid request type.
-
-
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
-
-