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[] responseValue)
Set the extended response
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Converts the request/reponse to its XML representation in the DSMLv2 format
|
getLdapResultaddAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, put, removeControl, setMessageIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLdapResultaddAllControls, addControl, get, getControl, getControls, getMessageId, hasControl, put, removeControl, setMessageIdpublic ExtendedResponseDsml(LdapApiService codec)
public ExtendedResponseDsml(LdapApiService codec, ExtendedResponse ldapMessage)
ldapMessage - the message to decoratepublic MessageTypeEnum getType()
getType in interface MessagegetType 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 ExtendedResponsepublic String getResponseName()
getResponseName in interface ExtendedResponsepublic void setResponseName(Oid responseName)
responseName - The name to set.public byte[] getResponseValue()
public void setResponseValue(byte[] responseValue)
responseValue - The response to set.Copyright © 2021. All rights reserved.