- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpHeader
-
- All Implemented Interfaces:
Debug
- Direct Known Subclasses:
Accept
,AcceptCharset
,AcceptEncoding
,AcceptLanguage
,Allow
,Connection
,ContentEncoding
,ContentLength
,ContentType
,Expect
,Host
,MaxForwards
,Origin
,RawHeader
,SecWebSocketAccept
,SecWebSocketExtensions
,SecWebSocketKey
,SecWebSocketProtocol
,SecWebSocketVersion
,Server
,TransferEncoding
,Upgrade
,UserAgent
public abstract class HttpHeader extends HttpPart implements Debug
-
-
Constructor Summary
Constructors Constructor Description HttpHeader()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract <T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.Writer<?,?>
httpWriter(HttpWriter http)
boolean
isBlank()
abstract String
lowerCaseName()
abstract String
name()
static HttpHeader
parseHttp(String string)
String
toString()
String
value()
Writer<?,?>
writeHttp(Output<?> output, HttpWriter http)
abstract Writer<?,?>
writeHttpValue(Output<?> output, HttpWriter http)
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
isBlank
public boolean isBlank()
-
lowerCaseName
public abstract String lowerCaseName()
-
name
public abstract String name()
-
value
public String value()
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriter
in classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
writeHttpValue
public abstract Writer<?,?> writeHttpValue(Output<?> output, HttpWriter http)
-
debug
public abstract <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
parseHttp
public static HttpHeader parseHttp(String string)
-
-