Class UpgradeToOtherProtocolResponseHeader
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.CustomHeader
org.apache.pekko.http.scaladsl.model.headers.CustomHeader
org.apache.pekko.http.impl.engine.server.InternalCustomHeader
org.apache.pekko.http.impl.engine.server.UpgradeToOtherProtocolResponseHeader
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,scala.Equals,scala.Product
public final class UpgradeToOtherProtocolResponseHeader
extends InternalCustomHeader
implements scala.Product, Serializable
Internal API
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$ -
Constructor Summary
ConstructorsConstructorDescriptionUpgradeToOtherProtocolResponseHeader(org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString, org.apache.pekko.util.ByteString, Object> handler) -
Method Summary
Methods inherited from class org.apache.pekko.http.impl.engine.server.InternalCustomHeader
name, renderInRequests, renderInResponses, valueMethods inherited from class org.apache.pekko.http.scaladsl.model.headers.CustomHeader
lowercaseName, renderMethods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
fastFind, is, isNot, parse, unapply, unsafeToStringMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeader
parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
UpgradeToOtherProtocolResponseHeader
public UpgradeToOtherProtocolResponseHeader(org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString, org.apache.pekko.util.ByteString, Object> handler)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1) -
toString
-
handler
public org.apache.pekko.stream.scaladsl.Flow<org.apache.pekko.util.ByteString,org.apache.pekko.util.ByteString, handler()Object>
-