- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.Product
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Product
comment(String comment)
FingerTrieSeq<String>
comments()
Product
comments(FingerTrieSeq<String> comments)
static Product
create(String name)
static Product
create(String name, String version)
static Product
create(String name, String version, String... comments)
static Product
create(String name, String version, FingerTrieSeq<String> comments)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
int
hashCode()
Writer<?,?>
httpWriter(HttpWriter http)
String
name()
static Product
parse(String string)
String
toString()
String
version()
Writer<?,?>
writeHttp(Output<?> output, HttpWriter http)
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
name
public String name()
-
version
public String version()
-
comments
public FingerTrieSeq<String> comments()
-
comments
public Product comments(FingerTrieSeq<String> comments)
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriter
in classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
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
.
-
create
public static Product create(String name, String version, FingerTrieSeq<String> comments)
-
-