public class ExtendedResponseDsml extends LdapResponseDecorator implements DsmlDecorator
instance
ldapMessageLength
parent
Constructor and Description |
---|
ExtendedResponseDsml()
Creates a new instance of ExtendedResponseDsml.
|
ExtendedResponseDsml(ExtendedResponseCodec ldapMessage)
Creates a new instance of ExtendedResponseDsml.
|
Modifier and Type | Method and Description |
---|---|
MessageTypeEnum |
getMessageType()
Get the message type
|
Object |
getResponse()
Get the extended response
|
String |
getResponseName()
Get the extended response name
|
void |
setResponse(Object response)
Set the extended response
|
void |
setResponseName(OID responseName)
Set the extended response name
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Converts the request/reponse to its XML representation in the DSMLv2 format
|
getLdapResponseLength, getLdapResult, setLdapResult
addControl, addLength, computeLength, computeLengthProtocolOp, encode, encodeProtocolOp, getAbandonRequest, getAddRequest, getAddResponse, getBindRequest, getBindResponse, getCompareRequest, getCompareResponse, getControls, getControls, getCurrentControl, getCurrentLength, getDelRequest, getDelResponse, getExpectedLength, getExtendedRequest, getExtendedResponse, getLdapResponse, getMessageId, getMessageTypeName, getModifyDNRequest, getModifyDNResponse, getModifyRequest, getModifyResponse, getParent, getSearchRequest, getSearchResultDone, getSearchResultEntry, getSearchResultReference, getUnBindRequest, setCurrentLength, setExpectedLength, setMessageId, setParent, toString
addControls, encode, getCodecControl, initControls, toString
getTlvId
public ExtendedResponseDsml()
public ExtendedResponseDsml(ExtendedResponseCodec ldapMessage)
ldapMessage
- the message to decoratepublic MessageTypeEnum getMessageType()
LdapMessageCodec
getMessageType
in class LdapMessageDecorator
public org.dom4j.Element toDsml(org.dom4j.Element root)
DsmlDecorator
toDsml
in interface DsmlDecorator
root
- the root dom4j Elementpublic String getResponseName()
public void setResponseName(OID responseName)
responseName
- The name to set.public Object getResponse()
public void setResponse(Object response)
response
- The response to set.Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.