play.mvc
Class Results.Status
java.lang.Object
play.mvc.Results.Status
- All Implemented Interfaces:
- Result
- Enclosing class:
- Results
public static class Results.Status
- extends java.lang.Object
- implements Result
A simple result.
Constructor Summary |
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)
|
Method Summary |
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Results.Status
public Results.Status(play.api.mvc.Results.Status status)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
java.lang.String content,
play.api.mvc.Codec codec)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
org.codehaus.jackson.JsonNode content,
play.api.mvc.Codec codec)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
Content content,
play.api.mvc.Codec codec)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
Results.Chunks<A> chunks)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
byte[] content)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
java.io.InputStream content,
int chunkSize)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
java.io.File content,
int chunkSize)
getWrappedResult
public play.api.mvc.Result getWrappedResult()
- Description copied from interface:
Result
- Retrieves the real (Scala-based) result.
- Specified by:
getWrappedResult
in interface Result
as
public Results.Status as(java.lang.String contentType)
- Change the Content-Type header for this result.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object