public abstract class RequestDecorator<M extends Request> extends MessageDecorator<M> implements Request
messageLength
Constructor and Description |
---|
RequestDecorator(LdapApiService codec,
M decoratedMessage)
Makes Request a MessageDecorator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasResponse()
Tests to see if this Request produces one or more response types.
|
addAllControls, addControl, get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, removeControl, setControlsLength, setMessageId, setMessageLength, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
computeLength, encode
public RequestDecorator(LdapApiService codec, M decoratedMessage)
decoratedMessage
- the decorated messagepublic boolean hasResponse()
hasResponse
in interface Request
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.