Package akka.http.scaladsl.model.headers
Class Sec$minusWebSocket$minusKey
- java.lang.Object
-
- akka.http.javadsl.model.HttpHeader
-
- akka.http.scaladsl.model.HttpHeader
-
- akka.http.scaladsl.model.headers.Sec$minusWebSocket$minusKey
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ModeledHeader
,RequestHeader
,java.io.Serializable
,scala.Equals
,scala.Product
public final class Sec$minusWebSocket$minusKey extends HttpHeader implements RequestHeader, 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 Sec$minusWebSocket$minusKey(java.lang.String key)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Sec$minusWebSocket$minusKey
apply(byte[] keyBytes)
protected Sec$minusWebSocket$minusKey$
companion()
boolean
isValid()
Checks if the key value is valid according to the WebSocket specification, i.e.java.lang.String
key()
static java.lang.String
lowercaseName()
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)
protected <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, renderInResponses, 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.impl.util.ToStringRenderable
toString
-
-
-
-
Method Detail
-
apply
public static Sec$minusWebSocket$minusKey apply(byte[] keyBytes)
-
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)
-
key
public java.lang.String key()
-
renderValue
protected <R extends Rendering> Rendering renderValue(R r)
- Specified by:
renderValue
in interfaceModeledHeader
-
companion
protected Sec$minusWebSocket$minusKey$ companion()
- Specified by:
companion
in interfaceModeledHeader
-
isValid
public boolean isValid()
Checks if the key value is valid according to the WebSocket specification, i.e. if the String is a Base64 representation of 16 bytes.- Returns:
- (undocumented)
-
-