public abstract class ResultResponseRequestDecorator<M extends ResultResponseRequest<R>,R extends ResultResponse> extends RequestDecorator<M> implements ResultResponseRequest<R>
messageLength
Constructor and Description |
---|
ResultResponseRequestDecorator(LdapApiService codec,
M decoratedMessage)
Makes Request a MessageDecorator.
|
Modifier and Type | Method and Description |
---|---|
R |
getResultResponse()
If called for the first time, this methohd creates a result containing
response object for this request.
|
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 ResultResponseRequestDecorator(LdapApiService codec, M decoratedMessage)
decoratedMessage
- the decorated messagepublic boolean hasResponse()
hasResponse
in interface Request
hasResponse
in class RequestDecorator<M extends ResultResponseRequest<R>>
public R getResultResponse()
getResultResponse
in interface ResultResponseRequest<R extends ResultResponse>
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.