|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.directory.shared.ldap.message.AbstractMessage
org.apache.directory.shared.ldap.message.AbstractRequest
org.apache.directory.shared.ldap.message.ExtendedRequestImpl
ExtendedRequest implementation.
| Field Summary | |
protected byte[] |
payload
Extended request's payload or requestValue |
protected ResultResponse |
response
|
| Fields inherited from interface org.apache.directory.shared.ldap.message.ExtendedRequest |
RESP_TYPE, TYPE |
| Constructor Summary | |
ExtendedRequestImpl(int id)
Creates a Lockable ExtendedRequest implementing object used to perform extended protocol operation on the server. |
|
| Method Summary | |
javax.naming.ldap.ExtendedResponse |
createExtendedResponse(java.lang.String id,
byte[] berValue,
int offset,
int length)
|
boolean |
equals(java.lang.Object obj)
Checks to see if an object equals this ExtendedRequest. |
byte[] |
getEncodedValue()
|
java.lang.String |
getID()
|
java.lang.String |
getOid()
Gets the Object Idendifier corresponding to the extended request type. |
byte[] |
getPayload()
Gets the extended request's requestValue portion of the PDU. |
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces at least one response. |
ResultResponse |
getResultResponse()
The result containing response for this request. |
void |
setOid(java.lang.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. |
java.lang.String |
toString()
Get a String representation of an Extended Request |
| Methods inherited from class org.apache.directory.shared.ldap.message.AbstractRequest |
hasResponse |
| Methods inherited from class org.apache.directory.shared.ldap.message.AbstractMessage |
add, get, getControls, getMessageId, getType, initControls, put, remove |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.message.Request |
hasResponse |
| Methods inherited from interface org.apache.directory.shared.ldap.message.Message |
add, get, getControls, getMessageId, getType, put, remove |
| Field Detail |
protected byte[] payload
protected ResultResponse response
| Constructor Detail |
public ExtendedRequestImpl(int id)
id - the sequential message identifier| Method Detail |
public java.lang.String getOid()
getOid in interface ExtendedRequestpublic void setOid(java.lang.String oid)
setOid in interface ExtendedRequestoid - the dotted-decimal representation as a String of the OIDpublic byte[] getPayload()
getPayload in interface ExtendedRequestpublic void setPayload(byte[] payload)
setPayload in interface ExtendedRequestpayload - byte array of data encapsulating ext. req. parameterspublic MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic ResultResponse getResultResponse()
getResultResponse in interface ResultResponseRequestpublic boolean equals(java.lang.Object obj)
equals in class AbstractMessageobj - the object to be checked for equality
public java.lang.String toString()
public java.lang.String getID()
getID in interface javax.naming.ldap.ExtendedRequestpublic byte[] getEncodedValue()
getEncodedValue in interface javax.naming.ldap.ExtendedRequest
public javax.naming.ldap.ExtendedResponse createExtendedResponse(java.lang.String id,
byte[] berValue,
int offset,
int length)
throws javax.naming.NamingException
createExtendedResponse in interface javax.naming.ldap.ExtendedRequestjavax.naming.NamingException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||