|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.LdapMessage
org.apache.directory.shared.ldap.codec.LdapResponse
public class LdapResponse
A generic LdapResponse Object. It will contain the LdapResult.
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
---|
parent |
Constructor Summary | |
---|---|
LdapResponse()
Creates a new LdapResponse object. |
Method Summary | |
---|---|
int |
computeLength()
Compute the LdapResponse length LdapResponse : LdapResult |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the AddResponse message to a PDU. |
int |
getLdapResponseLength()
|
LdapResult |
getLdapResult()
Get the LdapResult |
void |
setLdapResult(LdapResult ldapResult)
Set the ldap result |
java.lang.String |
toString()
Get a String representation of an Response |
Methods inherited from class org.apache.directory.shared.ldap.codec.LdapMessage |
---|
addControl, getAbandonRequest, getAddRequest, getAddResponse, getBindRequest, getBindResponse, getCompareRequest, getCompareResponse, getControls, getControls, getCurrentControl, getDelRequest, getDelResponse, getExtendedRequest, getExtendedResponse, getLdapResponse, getMessageId, getMessageType, getMessageTypeName, getModifyDNRequest, getModifyDNResponse, getModifyRequest, getModifyResponse, getSearchRequest, getSearchResultDone, getSearchResultEntry, getSearchResultReference, getUnBindRequest, initControls, setMessageId, setProtocolOP |
Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
---|
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LdapResponse()
Method Detail |
---|
public LdapResult getLdapResult()
public void setLdapResult(LdapResult ldapResult)
ldapResult
- The ldapResult to set.public int getLdapResponseLength()
public int computeLength()
computeLength
in interface Asn1Object
computeLength
in class LdapMessage
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer) throws EncoderException
encode
in interface Asn1Object
encode
in class LdapMessage
buffer
- The buffer where to put the PDU
EncoderException
- If anything goes wrong.public java.lang.String toString()
toString
in class LdapMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |