|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceMethodDispatchProvider
Service-provider interface for creating RequestDispatcher
instances.
An implementation (a service-provider) identifies itself by placing a provider-configuration file (if not already present), "com.sun.research.ws.rest.spi.invoker.ResourceMethodDispatchProvider" in the resource directory META-INF/services, and including the fully qualified service-provider-class of the implementation in the file.
A provider will examine the model of the Web resource method and determine if an invoker can be created for that Web resource method.
Multiple providers can specify the support for different Web resource method patterns, ranging from simple patterns (such as void return and input parameters) to complex patterns that take type URI and query arguments and HTTP request headers as typed parameters.
Method Summary | |
---|---|
RequestDispatcher |
create(AbstractResourceMethod abstractResourceMethod)
Create a RequestDispatcher for a resource method of
a resource. |
Method Detail |
---|
RequestDispatcher create(AbstractResourceMethod abstractResourceMethod)
RequestDispatcher
for a resource method of
a resource.
abstractResourceMethod
- the abstract resource method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |