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)
ResourceMethodDispatchProvider
RequestDispatcher
for a resource method of
a resource.create
in interface ResourceMethodDispatchProvider
abstractResourceMethod
- the abstract resource method.public RequestDispatcher create(AbstractResourceMethod abstractResourceMethod, JavaMethodInvoker invoker)
ResourceMethodCustomInvokerDispatchProvider
RequestDispatcher
for a resource method of
a resource.create
in interface ResourceMethodCustomInvokerDispatchProvider
abstractResourceMethod
- the abstract resource method.invoker
- custom Java method invoker instanceprotected ServerInjectableProviderContext getInjectableProviderContext()
protected abstract InjectableValuesProvider getInjectableValuesProvider(AbstractResourceMethod abstractResourceMethod)
abstractResourceMethod
- the abstract resource method.Copyright © 2013 Oracle Corporation. All rights reserved.