public class SearchResponseDsml extends LdapResponseDecorator implements DsmlDecorator
instanceldapMessageLengthparent| Constructor and Description |
|---|
SearchResponseDsml(LdapMessageCodec response)
Creates a new instance of SearchResponseDsml.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addResponse(DsmlDecorator response)
Adds a response.
|
boolean |
removeResponse(DsmlDecorator response)
Removes a response.
|
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, getMessageType, getMessageTypeName, getModifyDNRequest, getModifyDNResponse, getModifyRequest, getModifyResponse, getParent, getSearchRequest, getSearchResultDone, getSearchResultEntry, getSearchResultReference, getUnBindRequest, setCurrentLength, setExpectedLength, setMessageId, setParent, toStringaddControls, encode, getCodecControl, initControls, toStringgetTlvIdpublic SearchResponseDsml(LdapMessageCodec response)
public boolean addResponse(DsmlDecorator response)
response - the response to addpublic boolean removeResponse(DsmlDecorator response)
response - the response to removepublic org.dom4j.Element toDsml(org.dom4j.Element root)
DsmlDecoratortoDsml in interface DsmlDecoratorroot - the root dom4j ElementCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.