|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.mvc.Http.RawBuffer
public abstract static class Http.RawBuffer
Handle the request body a raw bytes data.
Constructor Summary | |
---|---|
Http.RawBuffer()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Http.RawBuffer()
Method Detail |
---|
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |