- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpHeader
-
- swim.http.header.CookieHeader
-
- All Implemented Interfaces:
Comparable<HttpHeader>,Debug
public class CookieHeader extends HttpHeader
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HashTrieMap<String,Cookie>cookies()static CookieHeadercreate(String... cookiesString)static CookieHeadercreate(HashTrieMap<String,Cookie> cookies)static CookieHeadercreate(Cookie... cookies)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.static CookieHeaderempty()booleanequals(Object other)inthashCode()booleanisBlank()StringlowerCaseName()Stringname()static Parser<CookieHeader>parseHeaderValue(Input input, HttpParser http)Writer<?,?>writeHeaderValue(Output<?> output, HttpWriter http)-
Methods inherited from class swim.http.HttpHeader
compareTo, httpWriter, parseHttp, toString, value, writeHttp
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
isBlank
public boolean isBlank()
- Overrides:
isBlankin classHttpHeader
-
lowerCaseName
public String lowerCaseName()
- Specified by:
lowerCaseNamein classHttpHeader
-
name
public String name()
- Specified by:
namein classHttpHeader
-
cookies
public HashTrieMap<String,Cookie> cookies()
-
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 CookieHeader empty()
-
create
public static CookieHeader create(HashTrieMap<String,Cookie> cookies)
-
create
public static CookieHeader create(Cookie... cookies)
-
create
public static CookieHeader create(String... cookiesString)
-
parseHeaderValue
public static Parser<CookieHeader> parseHeaderValue(Input input, HttpParser http)
-
-