Package akka.http.scaladsl.model.headers
Class Connection
java.lang.Object
akka.http.javadsl.model.HttpHeader
akka.http.scaladsl.model.HttpHeader
akka.http.javadsl.model.headers.Connection
akka.http.scaladsl.model.headers.Connection
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ModeledHeader
,RequestHeader
,RequestResponseHeader
,ResponseHeader
,Serializable
,scala.Equals
,scala.Product
public final class Connection
extends Connection
implements RequestResponseHeader, scala.Product, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Connection
protected Connection$
Java APIboolean
hasClose()
boolean
boolean
static String
static String
name()
static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,
T> parseFromValueString
(String value) render
(R r) renderValue
(R r) scala.collection.immutable.Seq<String>
tokens()
Methods inherited from class akka.http.javadsl.model.headers.Connection
create
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 scala.Equals
canEqual, equals
Methods inherited from interface akka.http.scaladsl.model.headers.ModeledHeader
lowercaseName, name, render, 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.RequestHeader
renderInRequests
Methods inherited from interface akka.http.scaladsl.model.headers.ResponseHeader
renderInResponses
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
Connection
-
-
Method Details
-
apply
-
tokensRenderer
-
name
-
lowercaseName
-
render
-
parseFromValueString
-
tokens
-
renderValue
- Specified by:
renderValue
in interfaceModeledHeader
-
hasClose
public boolean hasClose() -
hasKeepAlive
public boolean hasKeepAlive() -
hasUpgrade
public boolean hasUpgrade() -
append
-
companion
- Specified by:
companion
in interfaceModeledHeader
-
getTokens
Java API- Specified by:
getTokens
in classConnection
-