Uses of Class
jakarta.ws.rs.core.Variant
Package
Description
The JAX-RS client API
Low-level interfaces and annotations used to create RESTful service resources.
-
Uses of Variant in jakarta.ws.rs.client
-
Uses of Variant in jakarta.ws.rs.core
Modifier and TypeMethodDescriptionRequest.selectVariant
(List<Variant> variants) Select the representation variant that best matches the request.Modifier and TypeMethodDescriptionVariant.VariantListBuilder.build()
Add the current combination of metadata to the list of supported variants (provided the current combination of metadata is not empty) and build a list of representation variants from the current state of the builder.Modifier and TypeMethodDescriptionstatic Response.ResponseBuilder
Create a new ResponseBuilder that contains a representation.abstract Response.ResponseBuilder
Set message entity representation metadata.abstract Response.ResponseBuilder
Add a Vary header that lists the available variants.Modifier and TypeMethodDescriptionstatic Response.ResponseBuilder
Response.notAcceptable
(List<Variant> variants) Create a new ResponseBuilder for a not acceptable response.Request.selectVariant
(List<Variant> variants) Select the representation variant that best matches the request.abstract Response.ResponseBuilder
Add a Vary header that lists the available variants.