public class ModifyDNResponseCodec extends LdapResponseCodec
ldapMessageLength
parent
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, setLdapResult
addControl, addControls, computeLength, encode, getCodecControl, getControls, getControls, getCurrentControl, getMessageId, initControls, setMessageId, toString
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent
public ModifyDNResponseCodec()
public MessageTypeEnum getMessageType()
getMessageType
in class LdapMessageCodec
public String getMessageTypeName()
getMessageTypeName
in class LdapMessageCodec
protected int computeLengthProtocolOp()
0x6D L1 | +--> LdapResult L1 = Length(LdapResult) Length(ModifyDNResponse) = Length(0x6D) + Length(L1) + L1
computeLengthProtocolOp
in class LdapMessageCodec
protected void encodeProtocolOp(ByteBuffer buffer) throws EncoderException
encodeProtocolOp
in class LdapMessageCodec
buffer
- The buffer where to put the PDUEncoderException
public String toString()
toString
in class LdapResponseCodec
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.