public class ExtendedResponseDsml extends AbstractResultResponseDsml<ExtendedResponse> implements ExtendedResponse
TYPE
Constructor and Description |
---|
ExtendedResponseDsml(LdapApiService codec)
Creates a new getDecoratedMessage() of ExtendedResponseDsml.
|
ExtendedResponseDsml(LdapApiService codec,
ExtendedResponse ldapMessage)
Creates a new getDecoratedMessage() of ExtendedResponseDsml.
|
Modifier and Type | Method and Description |
---|---|
String |
getResponseName()
Get the extended response name
|
byte[] |
getResponseValue()
Get the extended response
|
MessageTypeEnum |
getType()
Gets the LDAP message type code associated with this Message.
|
void |
setResponseName(Oid responseName)
Set the extended response name
|
void |
setResponseName(String oid)
Sets the OID uniquely identifying this extended response (a.k.a.
|
void |
setResponseValue(byte[] response)
Set the extended response
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Converts the request/reponse to its XML representation in the DSMLv2 format
|
getLdapResult
addAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, put, removeControl, setMessageId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, hasControl, put, removeControl, setMessageId
public ExtendedResponseDsml(LdapApiService codec)
public ExtendedResponseDsml(LdapApiService codec, ExtendedResponse ldapMessage)
ldapMessage
- the message to decoratepublic MessageTypeEnum getType()
getType
in interface Message
getType
in class AbstractDsmlMessageDecorator<ExtendedResponse>
public org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml
in interface DsmlDecorator<ExtendedResponse>
toDsml
in class AbstractResultResponseDsml<ExtendedResponse>
root
- the root dom4j Elementpublic void setResponseName(String oid)
setResponseName
in interface ExtendedResponse
public String getResponseName()
getResponseName
in interface ExtendedResponse
public void setResponseName(Oid responseName)
responseName
- The name to set.public byte[] getResponseValue()
public void setResponseValue(byte[] response)
response
- The response to set.Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.