Class InternalCustomHeader
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
- All Implemented Interfaces:
- Renderable,- ToStringRenderable
- Direct Known Subclasses:
- UpgradeToOtherProtocolResponseHeader,- UpgradeToWebSocketLowLevel
Internal API
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderHttpHeader.ParsingResult, HttpHeader.ParsingResult$
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionname()Returns the name of the header.final booleanReturns true if and only if the header is to be rendered in requests.final booleanReturns true if and only if the header is to be rendered in responses.value()Returns the String representation of the value of the header.Methods inherited from class org.apache.pekko.http.scaladsl.model.headers.CustomHeaderlowercaseName, renderMethods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderfastFind, is, isNot, parse, unapply, unsafeToStringMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeaderparseMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderabletoString
- 
Constructor Details- 
InternalCustomHeader
 
- 
- 
Method Details- 
nameDescription copied from class:HttpHeaderReturns the name of the header.- Specified by:
- namein class- CustomHeader
 
- 
renderInRequestspublic final boolean renderInRequests()Description copied from class:HttpHeaderReturns true if and only if the header is to be rendered in requests.- Specified by:
- renderInRequestsin class- HttpHeader
 
- 
renderInResponsespublic final boolean renderInResponses()Description copied from class:HttpHeaderReturns true if and only if the header is to be rendered in responses.- Specified by:
- renderInResponsesin class- HttpHeader
 
- 
valueDescription copied from class:HttpHeaderReturns the String representation of the value of the header.- Specified by:
- valuein class- CustomHeader
 
 
-