|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.mvc.Http.RequestBody
public static class Http.RequestBody
The request body.
Constructor Summary | |
---|---|
Http.RequestBody()
|
Method Summary | ||
---|---|---|
|
as(java.lang.Class<T> tType)
Cast this RequestBody as T if possible. |
|
java.util.Map<java.lang.String,java.lang.String[]> |
asFormUrlEncoded()
The request content parsed as URL form-encoded. |
|
org.codehaus.jackson.JsonNode |
asJson()
The request content as Json. |
|
Http.MultipartFormData |
asMultipartFormData()
The request content parsed as multipart form data. |
|
Http.RawBuffer |
asRaw()
The request content as Array bytes. |
|
java.lang.String |
asText()
The request content as text. |
|
org.w3c.dom.Document |
asXml()
The request content as XML. |
|
boolean |
isMaxSizeExceeded()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Http.RequestBody()
Method Detail |
---|
public boolean isMaxSizeExceeded()
public Http.MultipartFormData asMultipartFormData()
public java.util.Map<java.lang.String,java.lang.String[]> asFormUrlEncoded()
public Http.RawBuffer asRaw()
public java.lang.String asText()
public org.w3c.dom.Document asXml()
public org.codehaus.jackson.JsonNode asJson()
public <T> T as(java.lang.Class<T> tType)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |