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