M
- The response to be decoratedpublic abstract class ResponseDecorator<M extends ResultResponse> extends MessageDecorator<M> implements ResultResponse
Constructor and Description |
---|
ResponseDecorator(LdapApiService codec,
M decoratedMessage)
Makes a AddRequest encodable.
|
Modifier and Type | Method and Description |
---|---|
LdapResult |
getLdapResult()
Gets the LdapResult components of this Response.
|
void |
setLdapResult(LdapResultDecorator ldapResultDecorator) |
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 ResponseDecorator(LdapApiService codec, M decoratedMessage)
codec
- The LDAP service instancedecoratedMessage
- the decorated AddRequestpublic LdapResult getLdapResult()
ResultResponse
getLdapResult
in interface ResultResponse
public void setLdapResult(LdapResultDecorator ldapResultDecorator)
ldapResultDecorator
- the ldapResultDecorator to setCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.