public interface InternalExtendedRequest extends SingleReplyRequest, ExtendedRequest
4.12. Extended Operation An extension mechanism has been added in this version of LDAP, in order to allow additional operations to be defined for services not available elsewhere in this protocol, for instance digitally signed operations and results. The extended operation allows clients to make requests and receive responses with predefined syntaxes and semantics. These may be defined in RFCs or be private to particular implementations. Each request MUST have a unique OBJECT IDENTIFIER assigned to it. ExtendedRequest ::= [APPLICATION 23] SEQUENCE { requestName [0] LDAPOID, requestValue [1] OCTET STRING OPTIONAL } The requestName is a dotted-decimal representation of the OBJECT IDENTIFIER corresponding to the request. The requestValue is information in a form defined by that request, encapsulated inside an OCTET STRING. <pre>
Modifier and Type | Field and Description |
---|---|
static MessageTypeEnum |
RESP_TYPE
Extended response message type enumeration value
|
static MessageTypeEnum |
TYPE
Extended request message type enumeration value
|
Modifier and Type | Method and Description |
---|---|
String |
getOid()
Gets the Object Idendifier corresponding to the extended request type.
|
byte[] |
getPayload()
Gets the extended request's requestValue portion of the PDU.
|
void |
setOid(String oid)
Sets the Object Idendifier corresponding to the extended request type.
|
void |
setPayload(byte[] payload)
Sets the extended request's requestValue portion of the PDU.
|
getResponseType
getResultResponse
hasResponse
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
createExtendedResponse, getEncodedValue, getID
static final MessageTypeEnum TYPE
static final MessageTypeEnum RESP_TYPE
String getOid()
void setOid(String oid)
oid
- the dotted-decimal representation as a String of the OIDbyte[] getPayload()
void setPayload(byte[] payload)
payload
- byte array of data encapsulating ext. req. parametersCopyright © 2003–2015 The Apache Software Foundation. All rights reserved.