Package | Description |
---|---|
org.glassfish.jersey.server.model |
Jersey server-side application & resource modeling classes.
|
Modifier and Type | Method and Description |
---|---|
Resource.Builder |
Resource.Builder.addChildResource(String relativePath)
Add a new child resource to the resource.
|
static Resource.Builder |
Resource.builder()
Get a new unbound resource model builder.
|
static Resource.Builder |
Resource.builder(Class<?> resourceClass)
Create a resource model builder initialized by introspecting an annotated
JAX-RS resource class.
|
static Resource.Builder |
Resource.builder(Class<?> resourceClass,
boolean disableValidation)
Create a resource model builder initialized by introspecting an annotated
JAX-RS resource class.
|
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. |
static Resource.Builder |
Resource.builder(Resource resource)
Get a new resource model builder initialized from a given resource model.
|
static Resource.Builder |
Resource.builder(String path)
Get a new resource model builder for a resource bound to a given path.
|
Resource.Builder |
Resource.Builder.extended(boolean extended)
Set the flag indicating whether the resource is extended or is a core of exposed RESTful API.
|
Resource.Builder |
Resource.Builder.mergeWith(Resource.Builder resourceBuilder)
Merge methods from a given resource model builder into this resource model
builder.
|
Resource.Builder |
Resource.Builder.mergeWith(Resource resource)
Merge methods from a given resource model into this resource model builder.
|
Resource.Builder |
Resource.Builder.name(String name)
Define a new name of the built resource.
|
Resource.Builder |
Resource.Builder.path(String path)
Define a new path for the built resource.
|
Modifier and Type | Method and Description |
---|---|
Resource.Builder |
Resource.Builder.mergeWith(Resource.Builder resourceBuilder)
Merge methods from a given resource model builder into this resource model
builder.
|
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.