public class ExtendedResponseDsml extends AbstractResultResponseDsml<ExtendedResponse> implements ExtendedResponse
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
|
getLdapResult
addAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, put, removeControl, setMessageId
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, hasControl, put, removeControl, setMessageId
public ExtendedResponseDsml(LdapApiService codec)
codec
- The LDAP Service to usepublic ExtendedResponseDsml(LdapApiService codec, ExtendedResponse ldapMessage)
codec
- The LDAP Service to useldapMessage
- 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>
root
- the root dom4j Elementpublic void setResponseName(String oid)
setResponseName
in interface ExtendedResponse
oid
- the OID of the extended response type.public String getResponseName()
getResponseName
in interface ExtendedResponse
public void setResponseName(Oid responseName)
responseName
- The name to set.public byte[] getResponseValue()
public void setResponseValue(byte[] responseValue)
responseValue
- The response to set.Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.