Uses of Class
javax.ws.rs.core.Variant.VariantListBuilder
-
Packages that use Variant.VariantListBuilder Package Description javax.ws.rs.core Low-level interfaces and annotations used to create RESTful service resources.javax.ws.rs.ext APIs that provide extensions to the types supported by the API. -
-
Uses of Variant.VariantListBuilder in javax.ws.rs.core
Methods in javax.ws.rs.core that return Variant.VariantListBuilder Modifier and Type Method Description abstract Variant.VariantListBuilder
Variant.VariantListBuilder. add()
Add the current combination of metadata to the list of supported variants, after this method is called the current combination of metadata is emptied.static Variant.VariantListBuilder
Variant. encodings(String... encodings)
Create aVariant.VariantListBuilder
initialized with a set of supported encodings.abstract Variant.VariantListBuilder
Variant.VariantListBuilder. encodings(String... encodings)
Set the encoding(s) for this variant.static Variant.VariantListBuilder
Variant. languages(Locale... languages)
Create aVariant.VariantListBuilder
initialized with a set of supported languages.abstract Variant.VariantListBuilder
Variant.VariantListBuilder. languages(Locale... languages)
Set the language(s) for this variant.static Variant.VariantListBuilder
Variant. mediaTypes(MediaType... mediaTypes)
Create aVariant.VariantListBuilder
initialized with a set of supported media types.abstract Variant.VariantListBuilder
Variant.VariantListBuilder. mediaTypes(MediaType... mediaTypes)
Set the media type(s) for this variant.static Variant.VariantListBuilder
Variant.VariantListBuilder. newInstance()
Create a new builder instance. -
Uses of Variant.VariantListBuilder in javax.ws.rs.ext
Methods in javax.ws.rs.ext that return Variant.VariantListBuilder Modifier and Type Method Description abstract Variant.VariantListBuilder
RuntimeDelegate. createVariantListBuilder()
Create a new instance of aVariant.VariantListBuilder
.
-