public abstract class AbandonableResultResponseRequestDecorator<M extends AbandonableResultResponseRequest> extends AbandonableRequestDecorator<M> implements ResultResponseRequest
messageLength
Constructor and Description |
---|
AbandonableResultResponseRequestDecorator(LdapApiService codec,
M decoratedMessage)
Makes Request a MessageDecorator.
|
Modifier and Type | Method and Description |
---|---|
ResultResponse |
getResultResponse()
If called for the first time, this method creates a result containing
response object for this request.
|
boolean |
hasResponse()
Tests to see if this Request produces one or more response types.
|
abandon, addAbandonListener, getAbandonableRequest, isAbandoned
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
computeLength, encode
public AbandonableResultResponseRequestDecorator(LdapApiService codec, M decoratedMessage)
decoratedMessage
- the decorated messagepublic boolean hasResponse()
hasResponse
in interface Request
hasResponse
in class ResultResponseRequestDecorator<M extends AbandonableResultResponseRequest>
public ResultResponse getResultResponse()
getResultResponse
in interface ResultResponseRequest
getResultResponse
in class ResultResponseRequestDecorator<M extends AbandonableResultResponseRequest>
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.