Class RawHeader
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpHeader
org.apache.pekko.http.scaladsl.model.HttpHeader
org.apache.pekko.http.javadsl.model.headers.RawHeader
- All Implemented Interfaces:
Renderable,ToStringRenderable
- Direct Known Subclasses:
RawHeader
A header in its 'raw' name/value form, not parsed into a modelled header class. To add a custom
header type, implement
ModeledCustomHeader and ModeledCustomHeaderFactory rather
than extending RawHeader-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$ -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pekko.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, parse, unapply, unsafeToStringMethods inherited from class org.apache.pekko.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponsesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.http.impl.util.Renderable
renderMethods inherited from interface org.apache.pekko.http.impl.util.ToStringRenderable
toString
-
Constructor Details
-
RawHeader
public RawHeader()
-
-
Method Details
-
name
Description copied from class:HttpHeaderReturns the name of the header.- Specified by:
namein classHttpHeader
-
value
Description copied from class:HttpHeaderReturns the String representation of the value of the header.- Specified by:
valuein classHttpHeader
-
create
-