Class JavaResourceMethodDispatcherProvider.SseEventSinkInvoker
java.lang.Object
org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider.AbstractMethodParamInvoker
org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider.SseEventSinkInvoker
- All Implemented Interfaces:
ResourceMethodDispatcher
- Enclosing class:
JavaResourceMethodDispatcherProvider
private static final class JavaResourceMethodDispatcherProvider.SseEventSinkInvoker
extends JavaResourceMethodDispatcherProvider.AbstractMethodParamInvoker
-
Nested Class Summary
Nested classes/interfaces inherited from interface ResourceMethodDispatcher
ResourceMethodDispatcher.Provider -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSseEventSinkInvoker(Invocable resourceMethod, InvocationHandler handler, List<ParamValueFactoryWithSource<?>> valueProviders, ConfiguredValidator validator, int parameterIndex) -
Method Summary
Modifier and TypeMethodDescriptionprotected javax.ws.rs.core.ResponsedoDispatch(Object resource, ContainerRequest request) Dispatching functionality to be implemented by a concrete dispatcher implementation sub-class.Methods inherited from class JavaResourceMethodDispatcherProvider.AbstractMethodParamInvoker
getParamValuesMethods inherited from class AbstractJavaResourceMethodDispatcher
dispatch, invoke, toString
-
Field Details
-
parameterIndex
private final int parameterIndex
-
-
Constructor Details
-
SseEventSinkInvoker
SseEventSinkInvoker(Invocable resourceMethod, InvocationHandler handler, List<ParamValueFactoryWithSource<?>> valueProviders, ConfiguredValidator validator, int parameterIndex)
-
-
Method Details
-
doDispatch
protected javax.ws.rs.core.Response doDispatch(Object resource, ContainerRequest request) throws javax.ws.rs.ProcessingException Description copied from class:AbstractJavaResourceMethodDispatcherDispatching functionality to be implemented by a concrete dispatcher implementation sub-class.- Specified by:
doDispatchin classAbstractJavaResourceMethodDispatcher- Parameters:
resource- resource class instance.request- request to be dispatched.- Returns:
- response for the dispatched request.
- Throws:
javax.ws.rs.ProcessingException- in case of a processing error.- See Also:
-