public abstract class AbstractRequestDsml<E extends Request> extends AbstractDsmlMessageDecorator<E> implements Request
| Constructor and Description |
|---|
AbstractRequestDsml(LdapApiService codec,
E ldapMessage)
Creates a new instance of AbstractRequestDsml.
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength() |
ByteBuffer |
encode(ByteBuffer buffer) |
boolean |
hasResponse()
Tests to see if this Request produces one or more response types.
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Creates the Request Element and adds RequestID and Controls.
|
addAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, getType, hasControl, put, removeControl, setMessageIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageIdpublic AbstractRequestDsml(LdapApiService codec, E ldapMessage)
ldapMessage - the message to decoratepublic org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml in interface DsmlDecorator<E extends Request>root - the root elementpublic int computeLength()
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
EncoderExceptionpublic boolean hasResponse()
hasResponse in interface RequestCopyright © 2021. All rights reserved.