## Uses of Class
org.glassfish.jersey.server.model.Resource

Packages that use Resource
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.

### Uses of Resource in org.glassfish.jersey.server

Methods in org.glassfish.jersey.server that return Resource
`Resource` ExtendedUriInfo.`getMatchedModelResource()` Get matched `model resource` from which `the matched` resource method was invoked.

Methods in org.glassfish.jersey.server that return types with arguments of type Resource
`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
`ResourceConfig` ResourceConfig.`registerResources(Resource... resources)` Register new programmatic resource models in the `ResourceConfig`.

Method parameters in org.glassfish.jersey.server with type arguments of type Resource
`ResourceConfig` ResourceConfig.`registerResources(Set<Resource> resources)` Register new resource models in the `ResourceConfig`.

### Uses of Resource in org.glassfish.jersey.server.model

Methods in org.glassfish.jersey.server.model that return Resource
`Resource` Resource.Builder.`build()` Build a new resource model.
`static Resource` Resource.`from(Class<?> resourceClass)` Create a resource model initialized by introspecting an annotated JAX-RS resource class.
`static Resource` Resource.`from(Class<?> resourceClass, boolean disableValidation)` Create a resource model initialized by introspecting an annotated JAX-RS resource class.
`Resource` Resource.`getParent()` Get the parent resource for this resource model or `null` in case this resource is a top-level resource and does not have a parent.
`Resource` ResourceMethod.`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
`List<Resource>` Resource.`getChildResources()` Returns the list of child resources available on this resource.
`List<Resource>` RuntimeResource.`getParentResources()` Return parent `resources` of `resources` from this runtime resource.
`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
`void` Resource.Builder.`addChildResource(Resource resource)` Add an existing Resource as a child resource of current resource.
`ResourceModel.Builder` ResourceModel.Builder.`addResource(Resource resource)` Add a resource to the builder.
`static Resource.Builder` Resource.`builder(Resource resource)` Get a new resource model builder initialized from a given resource model.
`Resource.Builder` Resource.Builder.`mergeWith(Resource resource)` Merge methods from a given resource model into this resource model builder.
`void` Resource.Builder.`replaceChildResource(Resource replacedResource, Resource newResource)` Replace an existing child resource with a newly supplied one.
`void` AbstractResourceModelVisitor.`visitChildResource(Resource resource)`
`void` ResourceModelVisitor.`visitChildResource(Resource resource)` Start visiting a single child resource model.
`void` AbstractResourceModelVisitor.`visitResource(Resource resource)`
`void` ResourceModelVisitor.`visitResource(Resource resource)` Start visiting a single resource model.

Method parameters in org.glassfish.jersey.server.model with type arguments of type Resource
`static Resource.Builder` Resource.`builder(List<Resource> resources)` Creates a `resource builder` instance from the list of `resource` which can be merged into a single resource.

Constructor parameters in org.glassfish.jersey.server.model with type arguments of type Resource
Constructor and Description
`Builder(List<Resource> resources, boolean subResourceModel)` Create new builder pre initialized with `resource`.
`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
`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, jakarta.ws.rs.core.MediaType mediaType)`
`Resource` WadlGenerator.`createResource(Resource r, String path)`
`List<Response>` WadlGenerator.`createResponses(Resource r, ResourceMethod m)`
`Application` WadlApplicationContext.`getApplication(jakarta.ws.rs.core.UriInfo info, Resource resource, boolean detailedWadl)` Get a new instance of `Application` for a particular resource.