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 TypeMethodDescriptionintcompareTo(HttpHeader that) abstract <T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.Writer<?,?> httpWriter(HttpWriter http) booleanisBlank()abstract Stringabstract Stringname()static HttpHeadertoString()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:
httpWriterin classHttpPart
-
writeHttp
-
writeHeaderValue
-
compareTo
- Specified by:
compareToin interfaceComparable<HttpHeader>
-
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
parseHttp
-