- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.Cookie
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Cookie
create(String name)
static Cookie
create(String name, String value)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
String
getName()
String
getValue()
int
hashCode()
Writer<?,?>
httpWriter(HttpWriter http)
static Cookie
parse(String string)
Writer<?,?>
writeHttp(Output<?> output, HttpWriter http)
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
getName
public String getName()
-
getValue
public String getValue()
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriter
in classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
-