Class Sec$minusWebSocket$minusKey
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.headers.Sec$minusWebSocket$minusKey
- All Implemented Interfaces:
Serializable,Renderable,ToStringRenderable,ModeledHeader,RequestHeader,scala.Equals,scala.Product
public final class Sec$minusWebSocket$minusKey
extends HttpHeader
implements RequestHeader, scala.Product, Serializable
- 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 Sec$minusWebSocket$minusKeyapply(byte[] keyBytes) protected Sec$minusWebSocket$minusKey$booleanisValid()Checks if the key value is valid according to the WebSocket specification, i.e.key()static Stringstatic Stringname()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, valueMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponsesMethods 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 org.apache.pekko.http.scaladsl.model.headers.ModeledHeader
lowercaseName, name, render, renderInResponses, valueMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.impl.util.Renderable
renderMethods inherited from interface org.apache.pekko.http.scaladsl.model.headers.RequestHeader
renderInRequestsMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
Sec$minusWebSocket$minusKey
-
-
Method Details
-
apply
-
name
-
lowercaseName
-
render
-
parseFromValueString
-
key
-
renderValue
- Specified by:
renderValuein interfaceModeledHeader
-
companion
- Specified by:
companionin 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)
-