- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.LanguageRange
-
-
Method Summary
Modifier and Type Method Description voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static LanguageRangefrom(String tag)static LanguageRangefrom(String tag, float weight)static LanguageRangefrom(String tag, String subtag)static LanguageRangefrom(String tag, String subtag, float weight)inthashCode()Writer<?,?>httpWriter(HttpWriter http)static LanguageRangeparse(String string)static LanguageRangestar()Stringsubtag()Stringtag()StringtoString()floatweight()LanguageRangeweight(float weight)Writer<?,?>writeHttp(Output<?> output, HttpWriter http)-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
star
public static LanguageRange star()
-
from
public static LanguageRange from(String tag, String subtag, float weight)
-
from
public static LanguageRange from(String tag, String subtag)
-
from
public static LanguageRange from(String tag, float weight)
-
from
public static LanguageRange from(String tag)
-
parse
public static LanguageRange parse(String string)
-
tag
public String tag()
-
subtag
public String subtag()
-
weight
public float weight()
-
weight
public LanguageRange weight(float weight)
-
httpWriter
public Writer<?,?> httpWriter(HttpWriter http)
- Specified by:
httpWriterin classHttpPart
-
writeHttp
public Writer<?,?> writeHttp(Output<?> output, HttpWriter http)
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-