public class ModifyDNResponseCodec extends LdapResponseCodec
ldapMessageLengthparent| Constructor and Description |
|---|
ModifyDNResponseCodec()
Creates a new ModifyDNResponse object.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
computeLengthProtocolOp()
Compute the ModifyDNResponse length
ModifyDNResponse :
|
protected void |
encodeProtocolOp(ByteBuffer buffer)
Encode the ModifyDNResponse message to a PDU.
|
MessageTypeEnum |
getMessageType()
Get the message type
|
String |
getMessageTypeName()
Get the message type Name
|
String |
toString()
Get a String representation of a ModifyDNResponse
|
computeLdapResultLength, encode, getLdapResponseLength, getLdapResult, setLdapResultaddControl, addControls, computeLength, encode, getCodecControl, getControls, getControls, getCurrentControl, getMessageId, initControls, setMessageId, toStringaddLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic ModifyDNResponseCodec()
public MessageTypeEnum getMessageType()
getMessageType in class LdapMessageCodecpublic String getMessageTypeName()
getMessageTypeName in class LdapMessageCodecprotected int computeLengthProtocolOp()
0x6D L1 | +--> LdapResult L1 = Length(LdapResult) Length(ModifyDNResponse) = Length(0x6D) + Length(L1) + L1
computeLengthProtocolOp in class LdapMessageCodecprotected void encodeProtocolOp(ByteBuffer buffer) throws EncoderException
encodeProtocolOp in class LdapMessageCodecbuffer - The buffer where to put the PDUEncoderExceptionpublic String toString()
toString in class LdapResponseCodecCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.