Package org.opends.server.api
Interface RequestHandler
-
- All Known Implementing Classes:
Backend,BackendImpl,ChangelogBackend,ClientConnection,ConfigurationBackend,JEBackend,JmxClientConnection,LdapClientConnection,LDIFBackend,LocalBackend,MemoryBackend,MonitorBackend,NullBackend,ProxyBackend,RootDSEBackend,Router,SchemaBackend,TaskBackend,TypedRequestHandler
public interface RequestHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Flowable<Response>handle(org.forgerock.services.context.Context context, Request request)
-
-
-
Method Detail
-
handle
Flowable<Response> handle(org.forgerock.services.context.Context context, Request request) throws Exception
Returns aFlowablerepresenting the asynchronousResponseof the givenrequest.Successful responses (@see
ResultCode.isExceptional()must be provided to the subscriber through theSubscriber.onNext(Object)method. All erroneous responses (e.g: no such object) must be published to the subscriber through theSubscriber.onError(Throwable)method.
-
-