Class CustomHeader
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
- All Implemented Interfaces:
- Renderable,- ToStringRenderable
- Direct Known Subclasses:
- InternalCustomHeader,- ModeledCustomHeader,- NewConnectionPoolSpec.ConnNrHeader
Superclass for user-defined custom headers defined by implementing 
name and value.
 
 Prefer to extend ModeledCustomHeader and ModeledCustomHeaderCompanion instead if
 planning to use the defined header in match clauses (e.g. in the routing layer of Pekko HTTP),
 as they allow the custom header to be matched from RawHeader and vice-versa.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeaderHttpHeader.ParsingResult, HttpHeader.ParsingResult$
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.pekko.http.javadsl.model.headers.CustomHeadername, valueMethods 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- 
CustomHeaderpublic CustomHeader()
 
- 
- 
Method Details- 
lowercaseNameDescription copied from class:HttpHeaderReturns the lower-cased name of the header.- Specified by:
- lowercaseNamein class- HttpHeader
 
- 
render
 
-