- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpHeader
-
- swim.http.header.ServerHeader
-
- All Implemented Interfaces:
Comparable<HttpHeader>,Debug
public final class ServerHeader extends HttpHeader
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerHeadercreate(String... productStrings)static ServerHeadercreate(FingerTrieSeq<Product> products)static ServerHeadercreate(Product... products)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.static ServerHeaderempty()booleanequals(Object other)inthashCode()StringlowerCaseName()Stringname()static Parser<ServerHeader>parseHeaderValue(Input input, HttpParser http)FingerTrieSeq<Product>products()Writer<?,?>writeHeaderValue(Output<?> output, HttpWriter http)-
Methods inherited from class swim.http.HttpHeader
compareTo, httpWriter, isBlank, parseHttp, toString, value, writeHttp
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
lowerCaseName
public String lowerCaseName()
- Specified by:
lowerCaseNamein classHttpHeader
-
name
public String name()
- Specified by:
namein classHttpHeader
-
products
public FingerTrieSeq<Product> products()
-
writeHeaderValue
public Writer<?,?> writeHeaderValue(Output<?> output, HttpWriter http)
- Specified by:
writeHeaderValuein classHttpHeader
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.- Specified by:
debugin interfaceDebug- Specified by:
debugin classHttpHeader- Returns:
- the continuation of the
output.
-
empty
public static ServerHeader empty()
-
create
public static ServerHeader create(FingerTrieSeq<Product> products)
-
create
public static ServerHeader create(Product... products)
-
create
public static ServerHeader create(String... productStrings)
-
parseHeaderValue
public static Parser<ServerHeader> parseHeaderValue(Input input, HttpParser http)
-
-