M
- The request to be decoratedpublic abstract class ResultResponseRequestDecorator<M extends ResultResponseRequest> extends RequestDecorator<M> implements ResultResponseRequest
Constructor and Description |
---|
ResultResponseRequestDecorator(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.
|
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 ResultResponseRequestDecorator(LdapApiService codec, M decoratedMessage)
codec
- The LDAP service instancedecoratedMessage
- the decorated messagepublic boolean hasResponse()
hasResponse
in interface Request
hasResponse
in class RequestDecorator<M extends ResultResponseRequest>
public ResultResponse getResultResponse()
getResultResponse
in interface ResultResponseRequest
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.