Class Resource.Data
java.lang.Object
org.glassfish.jersey.server.model.Resource.Data
- Enclosing class:
Resource
Immutable resource data holder.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<Resource.Data> private final boolean
private final String
private final PathPattern
private final List
<ResourceMethod.Data> private final ResourceMethod.Data
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Data
(List<String> names, String path, List<ResourceMethod.Data> resourceMethods, ResourceMethod.Data subResourceLocator, List<Resource.Data> childResources, Set<Class<?>> handlerClasses, Set<Object> handlerInstances, boolean extended) Create a new immutable resource data holder from the supplied parameters. -
Method Summary
-
Field Details
-
names
-
path
-
pathPattern
-
resourceMethods
-
subResourceLocator
-
childResources
-
handlerClasses
-
handlerInstances
-
extended
private final boolean extended
-
-
Constructor Details
-
Data
private Data(List<String> names, String path, List<ResourceMethod.Data> resourceMethods, ResourceMethod.Data subResourceLocator, List<Resource.Data> childResources, Set<Class<?>> handlerClasses, Set<Object> handlerInstances, boolean extended) Create a new immutable resource data holder from the supplied parameters.- Parameters:
names
- resource names.path
- resource path.resourceMethods
- child resource methods.subResourceLocator
- child resource locator.childResources
- child sub-resources.handlerClasses
- handler classes handling the resource methods.handlerInstances
- handler instances handling the resource methods.extended
- flag indicating whether the resource is extended
-
-
Method Details