Package | Description |
---|---|
jakarta.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service resources.
|
jakarta.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
Modifier and Type | Method and 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 a
Variant.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 a
Variant.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 a
Variant.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.
|
Modifier and Type | Method and Description |
---|---|
abstract Variant.VariantListBuilder |
RuntimeDelegate.createVariantListBuilder()
Create a new instance of a
Variant.VariantListBuilder . |
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.