Package akka.http.scaladsl.model.headers
Class Allow
- java.lang.Object
-
- akka.http.javadsl.model.HttpHeader
-
- akka.http.scaladsl.model.HttpHeader
-
- akka.http.javadsl.model.headers.Allow
-
- akka.http.scaladsl.model.headers.Allow
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ModeledHeader
,ResponseHeader
,java.io.Serializable
,scala.Equals
,scala.Product
public final class Allow extends Allow implements ResponseHeader, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
-
Constructor Summary
Constructors Constructor Description Allow(scala.collection.immutable.Seq<HttpMethod> methods)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Allow
apply()
static Allow
apply(HttpMethod firstMethod, scala.collection.immutable.Seq<HttpMethod> otherMethods)
protected Allow$
companion()
java.lang.Iterable<HttpMethod>
getMethods()
Java APIstatic 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>
Renderingrender(R r)
<R extends Rendering>
RenderingrenderValue(R r)
-
Methods inherited from class akka.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
-
Methods inherited from class akka.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponses
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.scaladsl.model.headers.ModeledHeader
lowercaseName, name, render, renderInRequests, value
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.Renderable
render
-
Methods inherited from interface akka.http.scaladsl.model.headers.ResponseHeader
renderInResponses
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
-
-
-
Constructor Detail
-
Allow
public Allow(scala.collection.immutable.Seq<HttpMethod> methods)
-
-
Method Detail
-
apply
public static Allow apply()
-
apply
public static Allow apply(HttpMethod firstMethod, scala.collection.immutable.Seq<HttpMethod> otherMethods)
-
methodsRenderer
public static Renderer<scala.collection.immutable.Iterable<HttpMethod>> methodsRenderer()
-
name
public static java.lang.String name()
-
lowercaseName
public static java.lang.String lowercaseName()
-
parseFromValueString
public static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> parseFromValueString(java.lang.String value)
-
methods
public scala.collection.immutable.Seq<HttpMethod> methods()
-
renderValue
public <R extends Rendering> Rendering renderValue(R r)
- Specified by:
renderValue
in interfaceModeledHeader
-
companion
protected Allow$ companion()
- Specified by:
companion
in interfaceModeledHeader
-
getMethods
public java.lang.Iterable<HttpMethod> getMethods()
Java API- Specified by:
getMethods
in classAllow
-
-