public abstract class LdapResponseCodec extends LdapMessageCodec
ldapMessageLengthparent| Constructor and Description |
|---|
LdapResponseCodec()
Creates a new LdapResponse object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLdapResultLength()
Compute the LdapResponse length
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the AddResponse message to a PDU.
|
int |
getLdapResponseLength() |
LdapResultCodec |
getLdapResult()
Get the LdapResult
|
void |
setLdapResult(LdapResultCodec ldapResult)
Set the ldap result
|
String |
toString()
Get a String representation of an Response
|
addControl, addControls, computeLength, computeLengthProtocolOp, encode, encodeProtocolOp, getCodecControl, getControls, getControls, getCurrentControl, getMessageId, getMessageType, getMessageTypeName, initControls, setMessageId, toStringaddLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic LdapResultCodec getLdapResult()
public void setLdapResult(LdapResultCodec ldapResult)
ldapResult - The ldapResult to set.public int getLdapResponseLength()
public int computeLdapResultLength()
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode in interface Asn1Objectencode in class AbstractAsn1Objectbuffer - The buffer where to put the PDUEncoderException - if the buffer can't be encodedCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.