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() |
getControl
protected Response<T> getResponse()
Future.get()
, waiting until the response is returned.IllegalStateException
- if the future is interrupted or throws an execution exceptionpublic T getResult()
Response
public ResultCode getResultCode()
Response
getResultCode
in class Response<T>
public String getMessage()
Response
getMessage
in class Response<T>
public String getMatchedDn()
Response
getMatchedDn
in class Response<T>
public ResponseControl[] getControls()
Message
getControls
in interface Message<ResponseControl>
getControls
in class Response<T>
public String[] getReferralURLs()
Response
getReferralURLs
in class Response<T>
public int getMessageId()
ResponseMessage
getMessageId
in interface ResponseMessage
getMessageId
in class Response<T>
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.