T - type of ldap result contained in this responsepublic class FutureResponse<T> extends Response<T>
| Modifier and Type | Field and Description |
|---|---|
private Future<Response<T>> |
future
Future that will contain the response.
|
ENCODE_CNTRL_CHARS, encodeCntrlChars| Constructor and Description |
|---|
FutureResponse(Future<Response<T>> f)
Creates a new future ldap response.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseControl[] |
getControls()
Returns the controls for this message.
|
String |
getMatchedDn()
Returns the matched DN produced by the ldap operation.
|
String |
getMessage()
Returns any error or diagnostic message produced by the ldap operation.
|
int |
getMessageId()
Returns the message ID for this response message.
|
String[] |
getReferralURLs()
Returns the referral URLs produced by the ldap operation.
|
protected Response<T> |
getResponse()
Invokes
Future.get(), waiting until the response is returned. |
T |
getResult()
Returns the result of the ldap operation.
|
ResultCode |
getResultCode()
Returns the result code of the ldap operation.
|
String |
toString() |
getControlprotected Response<T> getResponse()
Future.get(), waiting until the response is returned.IllegalStateException - if the future is interrupted or throws an execution exceptionpublic T getResult()
Responsepublic ResultCode getResultCode()
ResponsegetResultCode in class Response<T>public String getMessage()
ResponsegetMessage in class Response<T>public String getMatchedDn()
ResponsegetMatchedDn in class Response<T>public ResponseControl[] getControls()
MessagegetControls in interface Message<ResponseControl>getControls in class Response<T>public String[] getReferralURLs()
ResponsegetReferralURLs in class Response<T>public int getMessageId()
ResponseMessagegetMessageId in interface ResponseMessagegetMessageId in class Response<T>Copyright © 2003-2019 Virginia Tech. All Rights Reserved.