public abstract class AbstractResourceMethodDispatchProvider extends Object implements ResourceMethodDispatchProvider, ResourceMethodCustomInvokerDispatchProvider
ResourceMethodDispatchProvider that
creates instances of RequestDispatcher.
Implementing classes are required to override the
getInjectableValuesProvider(com.sun.jersey.api.model.AbstractResourceMethod)
method to return a InjectableValuesProvider associated with the parameters
of the abstract resource method.
| Constructor and Description |
|---|
AbstractResourceMethodDispatchProvider() |
| Modifier and Type | Method and Description |
|---|---|
RequestDispatcher |
create(AbstractResourceMethod abstractResourceMethod)
Create a
RequestDispatcher for a resource method of
a resource. |
RequestDispatcher |
create(AbstractResourceMethod abstractResourceMethod,
JavaMethodInvoker invoker)
Create a
RequestDispatcher for a resource method of
a resource. |
protected ServerInjectableProviderContext |
getInjectableProviderContext()
Get the server-specific injectable provider context.
|
protected abstract InjectableValuesProvider |
getInjectableValuesProvider(AbstractResourceMethod abstractResourceMethod)
Get the injectable values provider for an abstract resource method.
|
public AbstractResourceMethodDispatchProvider()
public RequestDispatcher create(AbstractResourceMethod abstractResourceMethod)
ResourceMethodDispatchProviderRequestDispatcher for a resource method of
a resource.create in interface ResourceMethodDispatchProviderabstractResourceMethod - the abstract resource method.public RequestDispatcher create(AbstractResourceMethod abstractResourceMethod, JavaMethodInvoker invoker)
ResourceMethodCustomInvokerDispatchProviderRequestDispatcher for a resource method of
a resource.create in interface ResourceMethodCustomInvokerDispatchProviderabstractResourceMethod - the abstract resource method.invoker - custom Java method invoker instanceprotected ServerInjectableProviderContext getInjectableProviderContext()
protected abstract InjectableValuesProvider getInjectableValuesProvider(AbstractResourceMethod abstractResourceMethod)
abstractResourceMethod - the abstract resource method.Copyright © 2016 Oracle Corporation. All rights reserved.