|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.dsmlv2.AbstractDsmlMessageDecorator<E>
org.apache.directory.api.dsmlv2.reponse.AbstractResponseDsml<E>
org.apache.directory.api.dsmlv2.reponse.AbstractResultResponseDsml<ExtendedResponse>
org.apache.directory.api.dsmlv2.reponse.ExtendedResponseDsml
public class ExtendedResponseDsml
DSML Decorator for ExtendedResponse
| Field Summary |
|---|
| Fields inherited from interface org.apache.directory.api.ldap.model.message.ExtendedResponse |
|---|
TYPE |
| Constructor Summary | |
|---|---|
ExtendedResponseDsml(LdapApiService codec)
Creates a new getDecoratedMessage() of ExtendedResponseDsml. |
|
ExtendedResponseDsml(LdapApiService codec,
ExtendedResponse ldapMessage)
Creates a new getDecoratedMessage() of ExtendedResponseDsml. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.apache.directory.api.dsmlv2.reponse.AbstractResultResponseDsml |
|---|
getLdapResult |
| Methods inherited from class org.apache.directory.api.dsmlv2.AbstractDsmlMessageDecorator |
|---|
addAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, hasControl, put, removeControl, setMessageId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse |
|---|
getLdapResult |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Message |
|---|
addAllControls, addControl, get, getControl, getControls, getMessageId, hasControl, put, removeControl, setMessageId |
| Constructor Detail |
|---|
public ExtendedResponseDsml(LdapApiService codec)
public ExtendedResponseDsml(LdapApiService codec,
ExtendedResponse ldapMessage)
ldapMessage - the message to decorate| Method Detail |
|---|
public 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 Element
public 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[] response)
response - The response to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||