public abstract static class Http.RawBuffer
extends java.lang.Object
Constructor and Description |
---|
Http.RawBuffer() |
Modifier and Type | Method and Description |
---|---|
abstract byte[] |
asBytes()
Returns the buffer content as a bytes array.
|
abstract byte[] |
asBytes(int maxLength)
Returns the buffer content as a bytes array.
|
abstract java.io.File |
asFile()
Returns the buffer content as File.
|
abstract java.lang.Long |
size()
Buffer size.
|
public abstract java.lang.Long size()
public abstract byte[] asBytes(int maxLength)
maxLength
- The max length allowed to be stored in memory.public abstract byte[] asBytes()
public abstract java.io.File asFile()