public interface IntermediateResponseHandler
Intermediate responses are rarely used in practice and are therefore only supported in a few specialized cases where they are most likely to be encountered:
Connection.extendedRequest(org.forgerock.opendj.ldap.requests.ExtendedRequest<R>) methods
Connection.addAsync(org.forgerock.opendj.ldap.requests.AddRequest)
The handleIntermediateResponse(org.forgerock.opendj.ldap.responses.IntermediateResponse) method is invoked each time a
Intermediate Response is returned from the Directory Server.
Implementations of these methods should complete in a timely manner so as to avoid keeping the invoking thread from dispatching to other completion handlers.
| Modifier and Type | Method and Description |
|---|---|
boolean |
handleIntermediateResponse(IntermediateResponse response)
Invoked each time an intermediate response is returned from the Directory
Server.
|
boolean handleIntermediateResponse(IntermediateResponse response)
response - The intermediate response.true if this handler should continue to be notified of
any remaining intermediate responses, or false if the
remaining responses should be skipped for some reason (e.g. a
client side size limit has been reached).Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.