public final class Accept extends Accept implements RequestHeader, scala.Product, java.io.Serializable
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
Constructor and Description |
---|
Accept(scala.collection.immutable.Seq<MediaRange> mediaRanges) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsAll() |
static Accept |
apply(MediaRange firstMediaRange,
scala.collection.immutable.Seq<MediaRange> otherMediaRanges) |
protected Accept$ |
companion() |
java.lang.Iterable<MediaRange> |
getMediaRanges()
Java API
|
static java.lang.String |
lowercaseName() |
scala.collection.immutable.Seq<MediaRange> |
mediaRanges() |
static Renderer<scala.collection.immutable.Iterable<MediaRange>> |
mediaRangesRenderer() |
static java.lang.String |
name() |
static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> |
parseFromValueString(java.lang.String value) |
static <R extends Rendering> |
render(R r) |
<R extends Rendering> |
renderValue(R r) |
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
parse, renderInRequests, renderInResponses
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
renderInRequests
lowercaseName, name, render, renderInResponses, value
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
toString
render
public Accept(scala.collection.immutable.Seq<MediaRange> mediaRanges)
public static Accept apply(MediaRange firstMediaRange, scala.collection.immutable.Seq<MediaRange> otherMediaRanges)
public static Renderer<scala.collection.immutable.Iterable<MediaRange>> mediaRangesRenderer()
public static java.lang.String name()
public static java.lang.String lowercaseName()
public static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> parseFromValueString(java.lang.String value)
public scala.collection.immutable.Seq<MediaRange> mediaRanges()
public <R extends Rendering> Rendering renderValue(R r)
renderValue
in interface ModeledHeader
protected Accept$ companion()
companion
in interface ModeledHeader
public boolean acceptsAll()
acceptsAll
in class Accept
public java.lang.Iterable<MediaRange> getMediaRanges()
getMediaRanges
in class Accept