java.lang.Object
swim.http.HttpPart
swim.http.HttpHeader
- All Implemented Interfaces:
Comparable<HttpHeader>
,Debug
- Direct Known Subclasses:
AcceptCharsetHeader
,AcceptEncodingHeader
,AcceptHeader
,AcceptLanguageHeader
,AllowHeader
,ConnectionHeader
,ContentEncodingHeader
,ContentLengthHeader
,ContentTypeHeader
,CookieHeader
,ExpectHeader
,HostHeader
,LocationHeader
,MaxForwardsHeader
,OriginHeader
,RawHeader
,SecWebSocketAcceptHeader
,SecWebSocketExtensionsHeader
,SecWebSocketKeyHeader
,SecWebSocketProtocolHeader
,SecWebSocketVersionHeader
,ServerHeader
,SetCookieHeader
,TransferEncodingHeader
,UpgradeHeader
,UserAgentHeader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(HttpHeader that) abstract <T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.Writer<?,
?> httpWriter
(HttpWriter http) boolean
isBlank()
abstract String
abstract String
name()
static HttpHeader
toString()
value()
abstract Writer<?,
?> writeHeaderValue
(Output<?> output, HttpWriter http) Writer<?,
?> writeHttp
(Output<?> output, HttpWriter http) Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
Constructor Details
-
HttpHeader
public HttpHeader()
-
-
Method Details
-
isBlank
public boolean isBlank() -
lowerCaseName
-
name
-
value
-
httpWriter
- Specified by:
httpWriter
in classHttpPart
-
writeHttp
-
writeHeaderValue
-
compareTo
- Specified by:
compareTo
in interfaceComparable<HttpHeader>
-
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
parseHttp
-