|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.model.ResourceMethodInvoker
public class ResourceMethodInvoker
Server-side request-response inflector for invoking methods
of annotation-based resource classes.
| Nested Class Summary | |
|---|---|
static class |
ResourceMethodInvoker.Builder
Resource method invoker "assisted" injection helper. |
| Method Summary | |
|---|---|
ContainerResponse |
apply(ContainerRequest requestContext)
Transform data of a given type into a result of the different type. |
Iterable<ReaderInterceptor> |
getReaderInterceptors()
Get all writer interceptors applicable to the resource method
wrapped by this invoker. |
Iterable<RankedProvider<ContainerRequestFilter>> |
getRequestFilters()
Get all bound request filters applicable to the resource method
wrapped by this invoker. |
Class<?> |
getResourceClass()
Get the resource class that is the target of a request, or null if this information is not available. |
Method |
getResourceMethod()
Get the resource method that is the target of a request, or null if this information is not available. |
Iterable<RankedProvider<ContainerResponseFilter>> |
getResponseFilters()
Get all bound response filters applicable to the resource method
wrapped by this invoker. |
Iterable<WriterInterceptor> |
getWriterInterceptors()
Get all reader interceptors applicable to the resource method
wrapped by this invoker. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Method getResourceMethod()
ResourceInfonull if this information is not available.
getResourceMethod in interface ResourceInfoResourceInfo.getResourceClass()public Class<?> getResourceClass()
ResourceInfonull if this information is not available.
getResourceClass in interface ResourceInfoResourceInfo.getResourceMethod()public ContainerResponse apply(ContainerRequest requestContext)
Inflector
apply in interface Inflector<ContainerRequest,ContainerResponse>requestContext - data to be transformed into a result.
null.public Iterable<RankedProvider<ContainerRequestFilter>> getRequestFilters()
resource method
wrapped by this invoker.
resource
method.public Iterable<RankedProvider<ContainerResponseFilter>> getResponseFilters()
resource method
wrapped by this invoker.
resource
method.public Iterable<WriterInterceptor> getWriterInterceptors()
resource method
wrapped by this invoker.
resource method.public Iterable<ReaderInterceptor> getReaderInterceptors()
resource method
wrapped by this invoker.
resource method.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||