public interface RequestHandler
Request
by producing an associated Response
.Modifier and Type | Method and Description |
---|---|
io.reactivex.Flowable<org.forgerock.opendj.ldap.messages.Response> |
handle(org.forgerock.services.context.Context context,
org.forgerock.opendj.ldap.messages.Request request)
Returns a
Flowable representing the asynchronous Response of the given request . |
io.reactivex.Flowable<org.forgerock.opendj.ldap.messages.Response> handle(org.forgerock.services.context.Context context, org.forgerock.opendj.ldap.messages.Request request) throws Exception
Flowable
representing the asynchronous Response
of the given request
.
Successful responses (@see ResultCode#isExceptional()
must be provided to the subscriber through the
onNext() method. All erroneous responses (e.g: no such object) must be published to the subscriber through the
onError() method.
context
- The request context.request
- The request.Flowable
of zero or several Response
to be returned to the caller.Exception
- If an error occurred during the processing of the request.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.