Uses of Class
org.glassfish.jersey.server.model.Resource
-
Packages that use Resource Package Description org.glassfish.jersey.server Jersey server-side classes.org.glassfish.jersey.server.model Jersey server-side application & resource modeling classes.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. -
-
Uses of Resource in org.glassfish.jersey.server
Methods in org.glassfish.jersey.server that return Resource Modifier and Type Method Description ResourceExtendedUriInfo. getMatchedModelResource()Get matchedmodel resourcefrom whichthe matchedresource method was invoked.Methods in org.glassfish.jersey.server that return types with arguments of type Resource Modifier and Type Method Description List<Resource>ExtendedUriInfo. getLocatorSubResources()Get the list of sub resources returned from resource locators during matching.Set<Resource>ResourceConfig. getResources()Set<Resource>ServerConfig. getResources()Get programmatically modeled resources.Methods in org.glassfish.jersey.server with parameters of type Resource Modifier and Type Method Description ResourceConfigResourceConfig. registerResources(Resource... resources)Register new programmatic resource models in theResourceConfig.Method parameters in org.glassfish.jersey.server with type arguments of type Resource Modifier and Type Method Description ResourceConfigResourceConfig. registerResources(Set<Resource> resources)Register new resource models in theResourceConfig. -
Uses of Resource in org.glassfish.jersey.server.model
Methods in org.glassfish.jersey.server.model that return Resource Modifier and Type Method Description ResourceResource.Builder. build()Build a new resource model.static ResourceResource. from(Class<?> resourceClass)Create a resource model initialized by introspecting an annotated JAX-RS resource class.static ResourceResource. from(Class<?> resourceClass, boolean disableValidation)Create a resource model initialized by introspecting an annotated JAX-RS resource class.ResourceResource. getParent()Get the parent resource for this resource model ornullin case this resource is a top-level resource and does not have a parent.ResourceResourceMethod. getParent()Get the parent resource for this resource method model.Methods in org.glassfish.jersey.server.model that return types with arguments of type Resource Modifier and Type Method Description List<Resource>Resource. getChildResources()Returns the list of child resources available on this resource.List<Resource>RuntimeResource. getParentResources()List<Resource>ResourceModel. getResources()Return all resources from this resource model.List<Resource>RuntimeResource. getResources()Get resources creating this runtime resource.List<Resource>ResourceModel. getRootResources()Return root resources from this resource model.Methods in org.glassfish.jersey.server.model with parameters of type Resource Modifier and Type Method Description voidResource.Builder. addChildResource(Resource resource)Add an existing Resource as a child resource of current resource.ResourceModel.BuilderResourceModel.Builder. addResource(Resource resource)Add a resource to the builder.static Resource.BuilderResource. builder(Resource resource)Get a new resource model builder initialized from a given resource model.Resource.BuilderResource.Builder. mergeWith(Resource resource)Merge methods from a given resource model into this resource model builder.voidResource.Builder. replaceChildResource(Resource replacedResource, Resource newResource)Replace an existing child resource with a newly supplied one.voidAbstractResourceModelVisitor. visitChildResource(Resource resource)voidResourceModelVisitor. visitChildResource(Resource resource)Start visiting a single child resource model.voidAbstractResourceModelVisitor. visitResource(Resource resource)voidResourceModelVisitor. visitResource(Resource resource)Start visiting a single resource model.Method parameters in org.glassfish.jersey.server.model with type arguments of type Resource Modifier and Type Method Description static Resource.BuilderResource. builder(List<Resource> resources)Creates aresource builderinstance from the list ofresourcewhich can be merged into a single resource.Constructor parameters in org.glassfish.jersey.server.model with type arguments of type Resource Constructor Description Builder(List<Resource> resources, boolean subResourceModel)Create new builder pre initialized withresource.RuntimeResourceModel(List<Resource> resources)Creates new runtime resource model from the list of resources. -
Uses of Resource in org.glassfish.jersey.server.wadl
Methods in org.glassfish.jersey.server.wadl with parameters of type Resource Modifier and Type Method Description MethodWadlGenerator. createMethod(Resource r, ResourceMethod m)ParamWadlGenerator. createParam(Resource r, ResourceMethod m, Parameter p)RequestWadlGenerator. createRequest(Resource r, ResourceMethod m)RepresentationWadlGenerator. createRequestRepresentation(Resource r, ResourceMethod m, MediaType mediaType)ResourceWadlGenerator. createResource(Resource r, String path)List<Response>WadlGenerator. createResponses(Resource r, ResourceMethod m)ApplicationWadlApplicationContext. getApplication(UriInfo info, Resource resource, boolean detailedWadl)Get a new instance ofApplicationfor a particular resource. -
Uses of Resource in org.glassfish.jersey.server.wadl.internal
Methods in org.glassfish.jersey.server.wadl.internal with parameters of type Resource Modifier and Type Method Description MethodWadlGeneratorImpl. createMethod(Resource r, ResourceMethod m)ParamWadlGeneratorImpl. createParam(Resource r, ResourceMethod m, Parameter p)RequestWadlGeneratorImpl. createRequest(Resource r, ResourceMethod m)RepresentationWadlGeneratorImpl. createRequestRepresentation(Resource r, ResourceMethod m, MediaType mediaType)ResourceWadlGeneratorImpl. createResource(Resource resource, String path)RepresentationWadlGeneratorImpl. createResponseRepresentation(Resource r, ResourceMethod m, MediaType mediaType)List<Response>WadlGeneratorImpl. createResponses(Resource r, ResourceMethod m)ApplicationWadlBuilder. generate(ApplicationDescription description, Resource resource)Generate WADL for a resource.ApplicationWadlApplicationContextImpl. getApplication(UriInfo info, Resource resource, boolean detailedWadl)Method parameters in org.glassfish.jersey.server.wadl.internal with type arguments of type Resource Modifier and Type Method Description ApplicationDescriptionWadlBuilder. generate(List<Resource> resources)Generate WADL for a set of resources.
-