Package akka.http.impl.engine.server
Class InternalCustomHeader
- java.lang.Object
-
- akka.http.javadsl.model.HttpHeader
-
- akka.http.scaladsl.model.HttpHeader
-
- akka.http.javadsl.model.headers.CustomHeader
-
- akka.http.scaladsl.model.headers.CustomHeader
-
- akka.http.impl.engine.server.InternalCustomHeader
-
- All Implemented Interfaces:
Renderable,ToStringRenderable
- Direct Known Subclasses:
UpgradeToOtherProtocolResponseHeader,UpgradeToWebSocketLowLevel
public abstract class InternalCustomHeader extends CustomHeader
Internal API
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
-
Constructor Summary
Constructors Constructor Description InternalCustomHeader(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringname()Returns the name of the header.booleanrenderInRequests()Returns true if and only if the header is to be rendered in requests.booleanrenderInResponses()Returns true if and only if the header is to be rendered in responses.java.lang.Stringvalue()Returns the String representation of the value of the header.-
Methods inherited from class akka.http.scaladsl.model.headers.CustomHeader
lowercaseName, render
-
Methods inherited from class akka.http.scaladsl.model.HttpHeader
fastFind, is, isNot, parse, unapply, unsafeToString
-
Methods inherited from class akka.http.javadsl.model.HttpHeader
parse
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
-
-
-
Method Detail
-
name
public java.lang.String name()
Description copied from class:HttpHeaderReturns the name of the header.- Specified by:
namein classCustomHeader
-
renderInRequests
public final boolean renderInRequests()
Description copied from class:HttpHeaderReturns true if and only if the header is to be rendered in requests.- Specified by:
renderInRequestsin classHttpHeader
-
renderInResponses
public final boolean renderInResponses()
Description copied from class:HttpHeaderReturns true if and only if the header is to be rendered in responses.- Specified by:
renderInResponsesin classHttpHeader
-
value
public java.lang.String value()
Description copied from class:HttpHeaderReturns the String representation of the value of the header.- Specified by:
valuein classCustomHeader
-
-