Constructor and Description |
---|
Results.Status(play.api.mvc.Results.Status status) |
Results.Status(play.api.mvc.Results.Status status,
byte[] content) |
Results.Status(play.api.mvc.Results.Status status,
Content content,
play.api.mvc.Codec codec) |
Results.Status(play.api.mvc.Results.Status status,
java.io.File content,
int chunkSize) |
Results.Status(play.api.mvc.Results.Status status,
java.io.InputStream content,
int chunkSize) |
Results.Status(play.api.mvc.Results.Status status,
org.codehaus.jackson.JsonNode content,
play.api.mvc.Codec codec) |
Results.Status(play.api.mvc.Results.Status status,
Results.Chunks<A> chunks) |
Results.Status(play.api.mvc.Results.Status status,
java.lang.String content,
play.api.mvc.Codec codec) |
Modifier and Type | Method and Description |
---|---|
Results.Status |
as(java.lang.String contentType)
Change the Content-Type header for this result.
|
play.api.mvc.Result |
getWrappedResult()
Retrieves the real (Scala-based) result.
|
java.lang.String |
toString() |
public Results.Status(play.api.mvc.Results.Status status)
public Results.Status(play.api.mvc.Results.Status status, java.lang.String content, play.api.mvc.Codec codec)
public Results.Status(play.api.mvc.Results.Status status, org.codehaus.jackson.JsonNode content, play.api.mvc.Codec codec)
public Results.Status(play.api.mvc.Results.Status status, Content content, play.api.mvc.Codec codec)
public Results.Status(play.api.mvc.Results.Status status, Results.Chunks<A> chunks)
public Results.Status(play.api.mvc.Results.Status status, byte[] content)
public Results.Status(play.api.mvc.Results.Status status, java.io.InputStream content, int chunkSize)
public Results.Status(play.api.mvc.Results.Status status, java.io.File content, int chunkSize)
public play.api.mvc.Result getWrappedResult()
Result
getWrappedResult
in interface Result
public Results.Status as(java.lang.String contentType)
public java.lang.String toString()
toString
in class java.lang.Object