public class ResourceMethodInvoker extends Object implements org.glassfish.jersey.server.internal.process.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(org.glassfish.jersey.server.internal.process.RequestProcessingContext processingContext)
Transform data of a given type into a result of the different type.
|
Iterable<javax.ws.rs.ext.ReaderInterceptor> |
getReaderInterceptors()
Get all writer interceptors applicable to the
resource method
wrapped by this invoker. |
Iterable<org.glassfish.jersey.model.internal.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<org.glassfish.jersey.model.internal.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.ResourceInfo
public Class<?> getResourceClass()
getResourceClass
in interface javax.ws.rs.container.ResourceInfo
public ContainerResponse apply(org.glassfish.jersey.server.internal.process.RequestProcessingContext processingContext)
Inflector
apply
in interface Inflector<org.glassfish.jersey.server.internal.process.RequestProcessingContext,ContainerResponse>
processingContext
- data to be transformed into a result.null
.public Iterable<org.glassfish.jersey.model.internal.RankedProvider<javax.ws.rs.container.ContainerRequestFilter>> getRequestFilters()
resource method
wrapped by this invoker.resource
method
.public Iterable<org.glassfish.jersey.model.internal.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-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.