- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpCharset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpCharset
create(String name)
static HttpCharset
create(String name, float weight)
<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)
boolean
isStar()
boolean
matches(HttpCharset that)
String
name()
static HttpCharset
parse(String string)
static HttpCharset
star()
String
toString()
float
weight()
HttpCharset
weight(float weight)
Writer<?,?>
writeHttp(Output<?> output, HttpWriter http)
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
isStar
public boolean isStar()
-
name
public String name()
-
weight
public float weight()
-
weight
public HttpCharset weight(float weight)
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriter
in classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
matches
public boolean matches(HttpCharset that)
-
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
.
-
star
public static HttpCharset star()
-
create
public static HttpCharset create(String name, float weight)
-
create
public static HttpCharset create(String name)
-
parse
public static HttpCharset parse(String string)
-
-