play.mvc
Class Results.Status
java.lang.Object
play.mvc.SimpleResult
play.mvc.Results.Status
- All Implemented Interfaces:
- Result
- Enclosing class:
- Results
public static class Results.Status
- extends SimpleResult
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)
|
Results.Status(play.api.mvc.Results.Status status,
java.io.File content,
boolean inline)
|
Results.Status(play.api.mvc.Results.Status status,
java.io.File content,
boolean inline,
java.lang.String filename)
|
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,
com.fasterxml.jackson.databind.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)
|
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,
com.fasterxml.jackson.databind.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.File content)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
java.io.File content,
boolean inline)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
java.io.File content,
boolean inline,
java.lang.String filename)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
java.io.File content,
int chunkSize)
Results.Status
public Results.Status(play.api.mvc.Results.Status status,
java.io.InputStream content,
int chunkSize)
getWrappedSimpleResult
public play.api.mvc.SimpleResult getWrappedSimpleResult()
- Description copied from class:
SimpleResult
- Get the wrapped simple result
- Specified by:
getWrappedSimpleResult
in class SimpleResult
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