M
- The message response to decoratepublic abstract class AbandonableResultResponseRequestDecorator<M extends AbandonableResultResponseRequest> extends AbandonableRequestDecorator<M> implements ResultResponseRequest
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
equals, 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)
codec
- The LDAP service instancedecoratedMessage
- 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–2018 The Apache Software Foundation. All rights reserved.