Class Allow
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.Allow
org.apache.pekko.http.scaladsl.model.headers.Allow
- All Implemented Interfaces:
Serializable
,Renderable
,ToStringRenderable
,ModeledHeader
,ResponseHeader
,scala.Equals
,scala.Product
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Allow
apply()
static Allow
apply
(HttpMethod firstMethod, scala.collection.immutable.Seq<HttpMethod> otherMethods) protected Allow$
Java APIstatic String
scala.collection.immutable.Seq<HttpMethod>
methods()
static Renderer<scala.collection.immutable.Iterable<HttpMethod>>
static String
name()
static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,
T> parseFromValueString
(String value) render
(R r) renderValue
(R r) Methods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
Methods inherited from class org.apache.pekko.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 scala.Equals
canEqual, equals
Methods inherited from interface org.apache.pekko.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 org.apache.pekko.http.impl.util.Renderable
render
Methods inherited from interface org.apache.pekko.http.scaladsl.model.headers.ResponseHeader
renderInResponses
Methods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
Allow
-
-
Method Details
-
apply
-
apply
public static Allow apply(HttpMethod firstMethod, scala.collection.immutable.Seq<HttpMethod> otherMethods) -
methodsRenderer
-
name
-
lowercaseName
-
render
-
parseFromValueString
-
methods
-
renderValue
- Specified by:
renderValue
in interfaceModeledHeader
-
companion
- Specified by:
companion
in interfaceModeledHeader
-
getMethods
Java API- Specified by:
getMethods
in classAllow
-