public interface RequestHandler
Modifier and Type | Method and Description |
---|---|
Flowable<Response> |
handle(org.forgerock.services.context.Context context,
Request request)
|
Flowable<Response> handle(org.forgerock.services.context.Context context, 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 Subscriber.onNext(Object)
method. All erroneous responses
(e.g: no such object) must be published to the subscriber through the
Subscriber.onError(Throwable)
method.
Copyright 2010-2022 ForgeRock AS.