public class VariantListBuilder
extends jakarta.ws.rs.core.Variant.VariantListBuilder
VariantListBuilder
.Constructor and Description |
---|
VariantListBuilder() |
Modifier and Type | Method and Description |
---|---|
VariantListBuilder |
add() |
List<jakarta.ws.rs.core.Variant> |
build() |
VariantListBuilder |
encodings(String... encodings) |
VariantListBuilder |
languages(Locale... languages) |
VariantListBuilder |
mediaTypes(jakarta.ws.rs.core.MediaType... mediaTypes) |
public List<jakarta.ws.rs.core.Variant> build()
build
in class jakarta.ws.rs.core.Variant.VariantListBuilder
public VariantListBuilder add()
add
in class jakarta.ws.rs.core.Variant.VariantListBuilder
public VariantListBuilder languages(Locale... languages)
languages
in class jakarta.ws.rs.core.Variant.VariantListBuilder
public VariantListBuilder encodings(String... encodings)
encodings
in class jakarta.ws.rs.core.Variant.VariantListBuilder
public VariantListBuilder mediaTypes(jakarta.ws.rs.core.MediaType... mediaTypes)
mediaTypes
in class jakarta.ws.rs.core.Variant.VariantListBuilder
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.