Class ModeledCustomHeader
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.javadsl.model.headers.ModeledCustomHeader
- All Implemented Interfaces:
- Renderable,- ToStringRenderable
Support class for building user-defined custom headers defined by implementing `name` and
 `value`. Implement 
ModeledCustomHeader and ModeledCustomHeaderFactory instead of
 CustomHeader to be able to use the convenience methods that allow parsing the custom
 user-defined header from HttpHeader.- 
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.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- 
ModeledCustomHeader
 
- 
- 
Method Details- 
nameDescription copied from class:HttpHeaderReturns the name of the header.- Specified by:
- namein class- CustomHeader
 
- 
lowercaseNameDescription copied from class:HttpHeaderReturns the lower-cased name of the header.- Specified by:
- lowercaseNamein class- HttpHeader
 
- 
valueDescription copied from class:HttpHeaderReturns the String representation of the value of the header.- Specified by:
- valuein class- CustomHeader
 
- 
render
 
-