|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface InMemoryInterceptedSimpleBindResult
This class provides an API that can be used in the course of processing a
simple bind request via the InMemoryOperationInterceptor
API.
Method Summary | |
---|---|
SimpleBindRequest |
getRequest()
Retrieves the simple bind request that was processed. |
BindResult |
getResult()
Retrieves the bind result to be returned to the client. |
void |
sendIntermediateResponse(IntermediateResponse intermediateResponse)
Sends the provided intermediate response message to the client. |
void |
setResult(BindResult bindResult)
Replaces the bind result to be returned to the client. |
Methods inherited from interface com.unboundid.ldap.listener.interceptor.InMemoryInterceptedResult |
---|
getConnectedAddress, getConnectedPort, getConnectionID, getMessageID, getProperty, sendUnsolicitedNotification |
Method Detail |
---|
SimpleBindRequest getRequest()
BindResult getResult()
void setResult(BindResult bindResult)
bindResult
- The bind result that should be returned to the client
instead of the result originally generated by the
in-memory directory server. It must not be
null
.void sendIntermediateResponse(IntermediateResponse intermediateResponse) throws LDAPException
InMemoryOperationInterceptor.processIntermediateResponse(com.unboundid.ldap.listener.interceptor.InMemoryInterceptedIntermediateResponse)
method of
all registered operation interceptors.
intermediateResponse
- The intermediate response to send to the
client. It must not be null
.
LDAPException
- If a problem is encountered while trying to send
the intermediate response.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |