public abstract static class Http.RawBuffer
extends java.lang.Object
Constructor and Description |
---|
RawBuffer() |
Modifier and Type | Method and Description |
---|---|
abstract akka.util.ByteString |
asBytes()
Returns the buffer content as a bytes array
|
abstract akka.util.ByteString |
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 akka.util.ByteString asBytes(int maxLength)
maxLength
- The max length allowed to be stored in memorypublic abstract akka.util.ByteString asBytes()
public abstract java.io.File asFile()