|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.asn1.Asn1Object
org.apache.directory.shared.ldap.codec.LdapMessage
org.apache.directory.shared.ldap.codec.unbind.UnBindRequest
public class UnBindRequest
A UnBindRequest ldapObject. Its syntax is : UnbindRequest ::= [APPLICATION 2] NULL This ldapObject is empty.
Field Summary |
---|
Fields inherited from class org.apache.directory.shared.asn1.Asn1Object |
---|
parent |
Constructor Summary | |
---|---|
UnBindRequest()
Creates a new BindRequest object. |
Method Summary | |
---|---|
int |
computeLength()
Compute the UnBindRequest length UnBindRequest : 0x42 00 |
ByteBuffer |
encode(ByteBuffer buffer)
Encode the UnbindRequest message to a PDU. |
int |
getMessageType()
Get the message type |
String |
toString()
Get a String representation of a UnBindRequest |
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, getMessageTypeName, getModifyDNRequest, getModifyDNResponse, getModifyRequest, getModifyResponse, getSearchRequest, getSearchResultDone, getSearchResultEntry, getSearchResultReference, getUnBindRequest, initControls, setMessageId, setProtocolOP |
Methods inherited from class org.apache.directory.shared.asn1.Asn1Object |
---|
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 UnBindRequest()
Method Detail |
---|
public int getMessageType()
getMessageType
in class LdapMessage
public int computeLength()
computeLength
in class LdapMessage
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode
in class LdapMessage
buffer
- The buffer where to put the PDU
EncoderException
- If anything goes wrong.public String toString()
toString
in class LdapMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |