public interface RequestBodyWriter
Modifier and Type | Method and Description |
---|---|
long |
getContentLength()
Returns the total number of bytes that will be written by this writer.
|
void |
reset()
Initialises the writer.
|
int |
write(byte[] buffer)
Writes body content to the supplied buffer.
|
long getContentLength()
void reset()
int write(byte[] buffer)
buffer
- the content buffer