|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.message.InternalAbstractMessage
org.apache.directory.shared.ldap.message.InternalAbstractRequest
org.apache.directory.shared.ldap.message.ExtendedRequestImpl
public class ExtendedRequestImpl
ExtendedRequest implementation.
| Field Summary | |
|---|---|
protected byte[] |
payload
Extended request's payload or requestValue |
protected InternalResultResponse |
response
|
| Fields inherited from interface org.apache.directory.shared.ldap.message.InternalExtendedRequest |
|---|
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. |
InternalResultResponse |
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.InternalAbstractRequest |
|---|
hashCode, hasResponse |
| Methods inherited from class org.apache.directory.shared.ldap.message.InternalAbstractMessage |
|---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalRequest |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalMessage |
|---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
| Field Detail |
|---|
protected byte[] payload
protected InternalResultResponse response
| Constructor Detail |
|---|
public ExtendedRequestImpl(int id)
id - the sequential message identifier| Method Detail |
|---|
public java.lang.String getOid()
getOid in interface InternalExtendedRequestpublic void setOid(java.lang.String oid)
setOid in interface InternalExtendedRequestoid - the dotted-decimal representation as a String of the OIDpublic byte[] getPayload()
getPayload in interface InternalExtendedRequestpublic void setPayload(byte[] payload)
setPayload in interface InternalExtendedRequestpayload - byte array of data encapsulating ext. req. parameterspublic MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic InternalResultResponse getResultResponse()
getResultResponse in interface InternalResultResponseRequestpublic boolean equals(java.lang.Object obj)
equals in class InternalAbstractMessageobj - the object to be checked for equality
public java.lang.String toString()
toString in class java.lang.Objectpublic 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 | |||||||||