public class ResourceMethodInvoker extends Object implements org.glassfish.jersey.server.internal.process.Endpoint, ResourceInfo
inflector
for invoking methods
of annotation-based resource classes.Modifier and Type | Class and Description |
---|---|
static class |
ResourceMethodInvoker.Builder
Resource method invoker 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<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() |
Method |
getResourceMethod() |
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() |
public Method getResourceMethod()
getResourceMethod
in interface ResourceInfo
public Class<?> getResourceClass()
getResourceClass
in interface 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<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
.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.