- java.lang.Object
-
- swim.http.HttpPart
-
- swim.http.HttpChunkHeader
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpChunkHeader
create(long size)
static HttpChunkHeader
create(long size, FingerTrieSeq<ChunkExtension> extensions)
static HttpChunkHeader
create(long size, ChunkExtension... extensions)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
FingerTrieSeq<ChunkExtension>
extensions()
int
hashCode()
Writer<?,?>
httpWriter(HttpWriter http)
boolean
isEmpty()
static HttpChunkHeader
parse(String string)
static HttpChunkHeader
sentinel()
long
size()
String
toString()
Writer<?,?>
writeHttp(Output<?> output, HttpWriter http)
-
Methods inherited from class swim.http.HttpPart
httpWriter, toHttp, writeHttp
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
size
public long size()
-
extensions
public FingerTrieSeq<ChunkExtension> extensions()
-
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
.
-
sentinel
public static HttpChunkHeader sentinel()
-
create
public static HttpChunkHeader create(long size, FingerTrieSeq<ChunkExtension> extensions)
-
create
public static HttpChunkHeader create(long size, ChunkExtension... extensions)
-
create
public static HttpChunkHeader create(long size)
-
parse
public static HttpChunkHeader parse(String string)
-
-