Uses of Class
org.glassfish.jersey.server.model.ResourceMethod
-
Packages that use ResourceMethod Package Description org.glassfish.jersey.message.filtering Support for Entity Data Filtering in Jersey.org.glassfish.jersey.server Jersey server-side classes.org.glassfish.jersey.server.internal.monitoring Jersey server-side internal monitoring and statistics classes.org.glassfish.jersey.server.internal.monitoring.jmx Jersey internal server-side monitoring JMX MBeans implementation classes.org.glassfish.jersey.server.internal.routing Jersey server-side internal resource routing classes.org.glassfish.jersey.server.model Jersey server-side application & resource modeling classes.org.glassfish.jersey.server.model.internal Jersey server-side internal model related and routing helper classes.org.glassfish.jersey.server.monitoring Jersey server-side monitoring JMX MBeans interfaces.org.glassfish.jersey.server.wadl Jersey server-side WADL support public classes and interfaces.org.glassfish.jersey.server.wadl.internal Jersey server-side WADL internal classes.org.glassfish.jersey.server.wadl.internal.generators Jersey server-side WADL internal classes supportingwadl generators
.org.glassfish.jersey.server.wadl.internal.generators.resourcedoc Jersey server-side WADL internal classes supporting generation of resource documentation withwadl generators
. -
-
Uses of ResourceMethod in org.glassfish.jersey.message.filtering
Methods in org.glassfish.jersey.message.filtering that return types with arguments of type ResourceMethod Modifier and Type Method Description private static java.util.List<ResourceMethod>
ServerScopeProvider. getMatchedMethods(ExtendedUriInfo uriInfo)
-
Uses of ResourceMethod in org.glassfish.jersey.server
Methods in org.glassfish.jersey.server that return ResourceMethod Modifier and Type Method Description ResourceMethod
ExtendedUriInfo. getMatchedResourceMethod()
Get matchedresource method
that is invoked.Methods in org.glassfish.jersey.server that return types with arguments of type ResourceMethod Modifier and Type Method Description java.util.List<ResourceMethod>
ExtendedUriInfo. getMatchedResourceLocators()
Get resource locators matched since beginning of a matching. -
Uses of ResourceMethod in org.glassfish.jersey.server.internal.monitoring
Fields in org.glassfish.jersey.server.internal.monitoring declared as ResourceMethod Modifier and Type Field Description private ResourceMethod
MonitoringEventListener.MethodStats. method
private ResourceMethod
ResourceMethodStatisticsImpl.Builder. resourceMethod
private ResourceMethod
ResourceMethodStatisticsImpl. resourceMethod
Fields in org.glassfish.jersey.server.internal.monitoring with type parameters of type ResourceMethod Modifier and Type Field Description private java.util.Map<ResourceMethod,ResourceMethodStatistics>
ResourceStatisticsImpl. resourceMethods
Methods in org.glassfish.jersey.server.internal.monitoring that return ResourceMethod Modifier and Type Method Description (package private) ResourceMethod
MonitoringEventListener.MethodStats. getMethod()
Get the resource method executed.ResourceMethod
ResourceMethodStatisticsImpl. getResourceMethod()
Methods in org.glassfish.jersey.server.internal.monitoring that return types with arguments of type ResourceMethod Modifier and Type Method Description java.util.Map<ResourceMethod,ResourceMethodStatistics>
ResourceStatisticsImpl. getResourceMethodStatistics()
Methods in org.glassfish.jersey.server.internal.monitoring with parameters of type ResourceMethod Modifier and Type Method Description (package private) void
MonitoringStatisticsImpl.Builder. addExecution(java.lang.String uri, ResourceMethod resourceMethod, long methodTime, long methodDuration, long requestTime, long requestDuration)
Add execution of a resource method.(package private) void
ResourceStatisticsImpl.Builder. addExecution(ResourceMethod resourceMethod, long methodStartTime, long methodDuration, long requestStartTime, long requestDuration)
Add execution of a resource method in the resource.(package private) void
ResourceStatisticsImpl.Builder. addMethod(ResourceMethod resourceMethod)
Add a resource method to the statistics.static java.lang.String
MonitoringUtils. getMethodUniqueId(ResourceMethod method)
Get the method unique string ID.(package private) ResourceMethodStatisticsImpl.Builder
ResourceMethodStatisticsImpl.Factory. getOrCreate(ResourceMethod resourceMethod)
private ResourceMethodStatisticsImpl.Builder
ResourceStatisticsImpl.Builder. getOrCreate(ResourceMethod resourceMethod)
private ResourceStatisticsImpl.Builder
MonitoringStatisticsImpl.Builder. getOrCreateResourceBuilder(ResourceMethod resourceMethod)
Constructors in org.glassfish.jersey.server.internal.monitoring with parameters of type ResourceMethod Constructor Description Builder(ResourceMethod resourceMethod)
Create a new builder instance.MethodStats(ResourceMethod method, long startTime, long requestDuration)
ResourceMethodStatisticsImpl(ResourceMethod resourceMethod, ExecutionStatistics resourceMethodExecutionStatistics, ExecutionStatistics requestExecutionStatistics)
Constructor parameters in org.glassfish.jersey.server.internal.monitoring with type arguments of type ResourceMethod Constructor Description ResourceStatisticsImpl(java.util.Map<ResourceMethod,ResourceMethodStatistics> resourceMethods, ExecutionStatistics resourceExecutionStatistics, ExecutionStatistics requestExecutionStatistics)
-
Uses of ResourceMethod in org.glassfish.jersey.server.internal.monitoring.jmx
Fields in org.glassfish.jersey.server.internal.monitoring.jmx declared as ResourceMethod Modifier and Type Field Description private ResourceMethod
ResourceMethodMXBeanImpl. resourceMethod
-
Uses of ResourceMethod in org.glassfish.jersey.server.internal.routing
Fields in org.glassfish.jersey.server.internal.routing declared as ResourceMethod Modifier and Type Field Description private ResourceMethod
SubResourceLocatorRouter. locatorModel
private ResourceMethod
UriRoutingContext. matchedResourceMethod
(package private) ResourceMethod
MethodRouting. method
Resource method model.private ResourceMethod
PushMatchedMethodRouter. resourceMethod
Fields in org.glassfish.jersey.server.internal.routing with type parameters of type ResourceMethod Modifier and Type Field Description private java.util.LinkedList<ResourceMethod>
UriRoutingContext. matchedLocators
Methods in org.glassfish.jersey.server.internal.routing that return ResourceMethod Modifier and Type Method Description ResourceMethod
UriRoutingContext. getMatchedResourceMethod()
Methods in org.glassfish.jersey.server.internal.routing that return types with arguments of type ResourceMethod Modifier and Type Method Description java.util.List<ResourceMethod>
UriRoutingContext. getMatchedResourceLocators()
Methods in org.glassfish.jersey.server.internal.routing with parameters of type ResourceMethod Modifier and Type Method Description private Endpoint
RuntimeModelBuilder. createInflector(ResourceMethod method)
private Router
RuntimeModelBuilder. createMethodRouter(ResourceMethod resourceMethod)
private boolean
MethodSelectingRouter. fillMediaTypes(java.util.Set<javax.ws.rs.core.MediaType> effectiveTypes, ResourceMethod resourceMethod, java.util.List<javax.ws.rs.core.MediaType> methodTypes, boolean inputTypes)
(package private) Router
RuntimeLocatorModelBuilder. getRouter(ResourceMethod resourceMethod)
Obtain a sub-resource locator router for given resource method.void
RoutingContext. pushMatchedLocator(ResourceMethod resourceLocator)
Push the matchedsub resource locator method
.void
UriRoutingContext. pushMatchedLocator(ResourceMethod resourceLocator)
void
RoutingContext. setMatchedResourceMethod(ResourceMethod resourceMethod)
Set the matchedresource method
.void
UriRoutingContext. setMatchedResourceMethod(ResourceMethod resourceMethod)
Constructors in org.glassfish.jersey.server.internal.routing with parameters of type ResourceMethod Constructor Description MethodRouting(ResourceMethod method, Router... routers)
Create a new instance.PushMatchedMethodRouter(ResourceMethod resourceMethod)
Create a new instance of push matched resource router.SubResourceLocatorRouter(java.util.function.Function<java.lang.Class<?>,?> createServiceFunction, java.util.Collection<ValueParamProvider> valueSuppliers, ResourceMethod locatorModel, JerseyResourceContext resourceContext, RuntimeLocatorModelBuilder runtimeLocatorBuilder)
Create a new sub-resource locator router. -
Uses of ResourceMethod in org.glassfish.jersey.server.model
Fields in org.glassfish.jersey.server.model declared as ResourceMethod Modifier and Type Field Description private ResourceMethod
Resource. locator
private ResourceMethod
ResourceMethodInvoker. method
Fields in org.glassfish.jersey.server.model with type parameters of type ResourceMethod Modifier and Type Field Description private java.util.List<ResourceMethod>
RuntimeResource. resourceLocators
private java.util.List<ResourceMethod>
Resource. resourceMethods
private java.util.List<ResourceMethod>
RuntimeResource. resourceMethods
Methods in org.glassfish.jersey.server.model that return ResourceMethod Modifier and Type Method Description ResourceMethod
ResourceMethod.Builder. build()
Build the resource method model and register it with the parentResource.Builder
.ResourceMethod
Resource. getResourceLocator()
Provides a resource locator available on the resource.ResourceMethod
RuntimeResource. getResourceLocator()
Return the resource locator of this resource.Methods in org.glassfish.jersey.server.model that return types with arguments of type ResourceMethod Modifier and Type Method Description java.util.List<ResourceMethod>
Resource. getAllMethods()
Provides resource methods and resource locator are available on the resource.java.util.List<ResourceMethod>
RuntimeResource. getResourceLocators()
Get resource locators of allresources
of this runtime resource.java.util.List<ResourceMethod>
Resource. getResourceMethods()
Provides a non-null list of resource methods available on the resource.java.util.List<ResourceMethod>
RuntimeResource. getResourceMethods()
Get resource methods (excluding resource locators) of allresources
of this runtime resource.(package private) static java.util.List<ResourceMethod>
ResourceMethod. transform(Resource parent, java.util.List<ResourceMethod.Data> list)
Transform a collection of resource method data into resource method models.Methods in org.glassfish.jersey.server.model with parameters of type ResourceMethod Modifier and Type Method Description ResourceMethod.Builder
Resource.Builder. addMethod(ResourceMethod resourceMethod)
Add a new method model that is a copy of the givenresourceMethod
.ResourceMethodInvoker
ResourceMethodInvoker.Builder. build(ResourceMethod method, ProcessingProviders processingProviders)
Build a new resource method invoker instance.private void
RuntimeResourceModelValidator. checkIntersectingMediaTypes(RuntimeResource runtimeResource, java.lang.String httpMethod, ResourceMethod m1, ResourceMethod m2)
private void
ResourceMethodValidator. checkMethod(ResourceMethod method)
private void
ResourceMethodValidator. checkParameters(ResourceMethod method)
private void
ResourceMethodValidator. checkUnexpectedAnnotations(ResourceMethod resourceMethod)
private void
ResourceMethodValidator. checkValueProviders(ResourceMethod method)
private java.util.List<javax.ws.rs.core.MediaType>
RuntimeResourceModelValidator. getEffectiveInputTypes(ResourceMethod resourceMethod)
private java.util.List<javax.ws.rs.core.MediaType>
RuntimeResourceModelValidator. getEffectiveOutputTypes(ResourceMethod resourceMethod)
private boolean
RuntimeResourceModelValidator. sameHttpMethod(ResourceMethod m1, ResourceMethod m2)
ResourceMethod.Builder
Resource.Builder. updateMethod(ResourceMethod resourceMethod)
Get a method builder for an existing resource method.private void
ResourceMethodValidator. visitJaxrsResourceMethod(ResourceMethod method)
void
AbstractResourceModelVisitor. visitResourceMethod(ResourceMethod method)
void
ResourceMethodValidator. visitResourceMethod(ResourceMethod method)
void
ResourceModelVisitor. visitResourceMethod(ResourceMethod method)
Visit a single resource method model.private void
ResourceMethodValidator. visitSubResourceLocator(ResourceMethod locator)
Constructors in org.glassfish.jersey.server.model with parameters of type ResourceMethod Constructor Description Builder(Resource.Builder parent, ResourceMethod originalMethod)
Create a builder from an existing resource method model.ResourceMethodInvoker(ResourceMethodDispatcher.Provider dispatcherProvider, ResourceMethodInvocationHandlerProvider invocationHandlerProvider, ResourceMethod method, ProcessingProviders processingProviders, InjectionManager injectionManager, javax.ws.rs.core.Configuration globalConfig, ConfiguredValidator validator)
-
Uses of ResourceMethod in org.glassfish.jersey.server.model.internal
Methods in org.glassfish.jersey.server.model.internal with parameters of type ResourceMethod Modifier and Type Method Description private static boolean
ModelProcessorUtil. isMethodOverridden(ResourceMethod resourceMethod, java.lang.String httpMethod, javax.ws.rs.core.MediaType consumes, javax.ws.rs.core.MediaType produces)
-
Uses of ResourceMethod in org.glassfish.jersey.server.monitoring
Methods in org.glassfish.jersey.server.monitoring that return ResourceMethod Modifier and Type Method Description ResourceMethod
ResourceMethodStatistics. getResourceMethod()
Get aresource method
for which thisResourceMethodStatistics
are calculated.Methods in org.glassfish.jersey.server.monitoring that return types with arguments of type ResourceMethod Modifier and Type Method Description java.util.Map<ResourceMethod,ResourceMethodStatistics>
ResourceStatistics. getResourceMethodStatistics()
Return the statistics for resource method. -
Uses of ResourceMethod in org.glassfish.jersey.server.wadl
Methods in org.glassfish.jersey.server.wadl with parameters of type ResourceMethod Modifier and Type Method Description Method
WadlGenerator. createMethod(Resource r, ResourceMethod m)
Param
WadlGenerator. createParam(Resource r, ResourceMethod m, Parameter p)
Request
WadlGenerator. createRequest(Resource r, ResourceMethod m)
Representation
WadlGenerator. createRequestRepresentation(Resource r, ResourceMethod m, javax.ws.rs.core.MediaType mediaType)
java.util.List<Response>
WadlGenerator. createResponses(Resource r, ResourceMethod m)
-
Uses of ResourceMethod in org.glassfish.jersey.server.wadl.internal
Methods in org.glassfish.jersey.server.wadl.internal with parameters of type ResourceMethod Modifier and Type Method Description Method
WadlGeneratorImpl. createMethod(Resource r, ResourceMethod m)
Param
WadlGeneratorImpl. createParam(Resource r, ResourceMethod m, Parameter p)
Request
WadlGeneratorImpl. createRequest(Resource r, ResourceMethod m)
Representation
WadlGeneratorImpl. createRequestRepresentation(Resource r, ResourceMethod m, javax.ws.rs.core.MediaType mediaType)
Representation
WadlGeneratorImpl. createResponseRepresentation(Resource r, ResourceMethod m, javax.ws.rs.core.MediaType mediaType)
java.util.List<Response>
WadlGeneratorImpl. createResponses(Resource r, ResourceMethod m)
private Method
WadlBuilder. generateMethod(Resource parentResource, java.util.Map<java.lang.String,Param> wadlResourceParams, ResourceMethod resourceMethod)
private Param
WadlBuilder. generateParam(Resource resource, ResourceMethod method, Parameter param)
private Request
WadlBuilder. generateRequest(Resource parentResource, ResourceMethod resourceMethod, java.util.Map<java.lang.String,Param> wadlResourceParams)
private java.util.List<Response>
WadlBuilder. generateResponses(Resource r, ResourceMethod m)
private boolean
WadlGeneratorImpl. hasEmptyProducibleMediaTypeSet(ResourceMethod method)
private void
WadlBuilder. processRequestParameters(Resource parentResource, ResourceMethod resourceMethod, java.util.Map<java.lang.String,Param> wadlResourceParams, java.util.Collection<Parameter> requestParameters, Request wadlRequest)
Recursively processes provided request parameters and adds the resulting WADL information into the WADL request.private Representation
WadlBuilder. setRepresentationForMediaType(Resource r, ResourceMethod m, javax.ws.rs.core.MediaType mediaType, Request wadlRequest)
Create the wadlRepresentation
for the specifiedMediaType
if not yet existing for the wadlRequest
and return it. -
Uses of ResourceMethod in org.glassfish.jersey.server.wadl.internal.generators
Methods in org.glassfish.jersey.server.wadl.internal.generators with parameters of type ResourceMethod Modifier and Type Method Description Method
WadlGeneratorApplicationDoc. createMethod(Resource r, ResourceMethod m)
Method
WadlGeneratorGrammarsSupport. createMethod(Resource ar, ResourceMethod arm)
Method
WadlGeneratorJAXBGrammarGenerator. createMethod(Resource ar, ResourceMethod arm)
Param
WadlGeneratorApplicationDoc. createParam(Resource r, ResourceMethod m, Parameter p)
Param
WadlGeneratorGrammarsSupport. createParam(Resource ar, ResourceMethod am, Parameter p)
Param
WadlGeneratorJAXBGrammarGenerator. createParam(Resource ar, ResourceMethod am, Parameter p)
Request
WadlGeneratorApplicationDoc. createRequest(Resource r, ResourceMethod m)
Request
WadlGeneratorGrammarsSupport. createRequest(Resource ar, ResourceMethod arm)
Request
WadlGeneratorJAXBGrammarGenerator. createRequest(Resource ar, ResourceMethod arm)
Representation
WadlGeneratorApplicationDoc. createRequestRepresentation(Resource r, ResourceMethod m, javax.ws.rs.core.MediaType mediaType)
Representation
WadlGeneratorGrammarsSupport. createRequestRepresentation(Resource ar, ResourceMethod arm, javax.ws.rs.core.MediaType mt)
Representation
WadlGeneratorJAXBGrammarGenerator. createRequestRepresentation(Resource ar, ResourceMethod arm, javax.ws.rs.core.MediaType mt)
java.util.List<Response>
WadlGeneratorApplicationDoc. createResponses(Resource r, ResourceMethod m)
java.util.List<Response>
WadlGeneratorGrammarsSupport. createResponses(Resource ar, ResourceMethod arm)
java.util.List<Response>
WadlGeneratorJAXBGrammarGenerator. createResponses(Resource resource, ResourceMethod resourceMethod)
-
Uses of ResourceMethod in org.glassfish.jersey.server.wadl.internal.generators.resourcedoc
Methods in org.glassfish.jersey.server.wadl.internal.generators.resourcedoc with parameters of type ResourceMethod Modifier and Type Method Description Method
WadlGeneratorResourceDocSupport. createMethod(Resource resource, ResourceMethod resourceMethod)
Param
WadlGeneratorResourceDocSupport. createParam(Resource r, ResourceMethod m, Parameter p)
Request
WadlGeneratorResourceDocSupport. createRequest(Resource r, ResourceMethod m)
Representation
WadlGeneratorResourceDocSupport. createRequestRepresentation(Resource r, ResourceMethod m, javax.ws.rs.core.MediaType mediaType)
java.util.List<Response>
WadlGeneratorResourceDocSupport. createResponses(Resource r, ResourceMethod m)
-