Package akka.http.scaladsl.model.headers
Class UpgradeProtocol
- java.lang.Object
-
- akka.http.scaladsl.model.headers.UpgradeProtocol
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,java.io.Serializable
,scala.Equals
,scala.Product
public final class UpgradeProtocol extends java.lang.Object implements ValueRenderable, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpgradeProtocol(java.lang.String name, scala.Option<java.lang.String> version)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract static R
apply(T1 v1, T2 v2)
java.lang.String
name()
<R extends Rendering>
Renderingrender(R r)
static java.lang.String
toString()
scala.Option<java.lang.String>
version()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Methods inherited from interface akka.http.impl.util.ValueRenderable
value
-
-
-
-
Method Detail
-
apply
public abstract static R apply(T1 v1, T2 v2)
-
toString
public static java.lang.String toString()
-
name
public java.lang.String name()
-
version
public scala.Option<java.lang.String> version()
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
-