public class ResourceMethodInvoker extends Object implements Endpoint, javax.ws.rs.container.ResourceInfo
inflector for invoking methods
of annotation-based resource classes.| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceMethodInvoker.Builder
Resource method invoker "assisted" injection helper.
|
| Modifier and Type | Method and Description |
|---|---|
ContainerResponse |
apply(ContainerRequest requestContext) |
Iterable<javax.ws.rs.ext.ReaderInterceptor> |
getReaderInterceptors()
Get all writer interceptors applicable to the
resource method
wrapped by this invoker. |
Iterable<RankedProvider<javax.ws.rs.container.ContainerRequestFilter>> |
getRequestFilters()
Get all bound request filters applicable to the
resource method
wrapped by this invoker. |
Class<?> |
getResourceClass() |
Method |
getResourceMethod() |
Iterable<RankedProvider<javax.ws.rs.container.ContainerResponseFilter>> |
getResponseFilters()
Get all bound response filters applicable to the
resource method
wrapped by this invoker. |
Iterable<javax.ws.rs.ext.WriterInterceptor> |
getWriterInterceptors()
Get all reader interceptors applicable to the
resource method
wrapped by this invoker. |
String |
toString() |
public Method getResourceMethod()
getResourceMethod in interface javax.ws.rs.container.ResourceInfopublic Class<?> getResourceClass()
getResourceClass in interface javax.ws.rs.container.ResourceInfopublic ContainerResponse apply(ContainerRequest requestContext)
apply in interface Inflector<ContainerRequest,ContainerResponse>public Iterable<RankedProvider<javax.ws.rs.container.ContainerRequestFilter>> getRequestFilters()
resource method
wrapped by this invoker.resource
method.public Iterable<RankedProvider<javax.ws.rs.container.ContainerResponseFilter>> getResponseFilters()
resource method
wrapped by this invoker.resource
method.public Iterable<javax.ws.rs.ext.WriterInterceptor> getWriterInterceptors()
resource method
wrapped by this invoker.resource method.public Iterable<javax.ws.rs.ext.ReaderInterceptor> getReaderInterceptors()
resource method
wrapped by this invoker.resource method.Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.