Class ModeledCustomHeader<H extends ModeledCustomHeader<H>>
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.scaladsl.model.headers.ModeledCustomHeader<H>
- All Implemented Interfaces:
- Renderable,- ToStringRenderable
Support class for building user-defined custom headers defined by implementing 
name and value.
 By implementing a ModeledCustomHeader instead of CustomHeader directly, all needed unapply
 methods are provided for this class, such that it can be pattern matched on from RawHeader and
 the other way around as well.- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderHttpHeader.ParsingResult, HttpHeader.ParsingResult$
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract ModeledCustomHeaderCompanion<H>final StringReturns the lower-cased name of the header.final Stringname()Returns the name of the header.Methods inherited from class org.apache.pekko.http.scaladsl.model.headers.CustomHeaderrenderMethods inherited from class org.apache.pekko.http.javadsl.model.headers.CustomHeadervalueMethods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderfastFind, is, isNot, parse, unapply, unsafeToStringMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeaderparse, renderInRequests, renderInResponsesMethods 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- 
ModeledCustomHeaderpublic ModeledCustomHeader()
 
- 
- 
Method Details- 
companion
- 
lowercaseNameDescription copied from class:HttpHeaderReturns the lower-cased name of the header.- Overrides:
- lowercaseNamein class- CustomHeader
 
- 
nameDescription copied from class:HttpHeaderReturns the name of the header.- Specified by:
- namein class- CustomHeader
 
 
-