public final class Allow extends Allow implements ResponseHeader, scala.Product, java.io.Serializable
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
Constructor and Description |
---|
Allow(scala.collection.immutable.Seq<HttpMethod> methods) |
Modifier and Type | Method and Description |
---|---|
static Allow |
apply() |
static Allow |
apply(HttpMethod firstMethod,
scala.collection.immutable.Seq<HttpMethod> otherMethods) |
protected Allow$ |
companion() |
java.lang.Iterable<HttpMethod> |
getMethods()
Java API
|
static java.lang.String |
lowercaseName() |
scala.collection.immutable.Seq<HttpMethod> |
methods() |
static Renderer<scala.collection.immutable.Iterable<HttpMethod>> |
methodsRenderer() |
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
renderInResponses
lowercaseName, name, render, renderInRequests, value
$init$, productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
toString
render
public Allow(scala.collection.immutable.Seq<HttpMethod> methods)
public static Allow apply()
public static Allow apply(HttpMethod firstMethod, scala.collection.immutable.Seq<HttpMethod> otherMethods)
public static Renderer<scala.collection.immutable.Iterable<HttpMethod>> methodsRenderer()
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<HttpMethod> methods()
public <R extends Rendering> Rendering renderValue(R r)
renderValue
in interface ModeledHeader
protected Allow$ companion()
companion
in interface ModeledHeader
public java.lang.Iterable<HttpMethod> getMethods()
getMethods
in class Allow