|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider
public abstract class AbstractResourceMethodDispatchProvider
A partial implementation of 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 Summary | |
|---|---|
AbstractResourceMethodDispatchProvider()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractResourceMethodDispatchProvider()
| Method Detail |
|---|
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 instance
protected ServerInjectableProviderContext getInjectableProviderContext()
protected abstract InjectableValuesProvider getInjectableValuesProvider(AbstractResourceMethod abstractResourceMethod)
abstractResourceMethod - the abstract resource method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||