public class ExtendedResponseDsml extends LdapResponseDecorator implements DsmlDecorator
instanceldapMessageLengthparent| 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, setLdapResultaddControl, 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, toStringaddControls, encode, getCodecControl, initControls, toStringgetTlvIdpublic ExtendedResponseDsml()
public ExtendedResponseDsml(ExtendedResponseCodec ldapMessage)
ldapMessage - the message to decoratepublic MessageTypeEnum getMessageType()
LdapMessageCodecgetMessageType in class LdapMessageDecoratorpublic org.dom4j.Element toDsml(org.dom4j.Element root)
DsmlDecoratortoDsml in interface DsmlDecoratorroot - 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–2016 The Apache Software Foundation. All rights reserved.