public static class Results.Status extends java.lang.Object implements Result
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,
play.twirl.api.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) |
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 |
toScala()
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, com.fasterxml.jackson.databind.JsonNode content, play.api.mvc.Codec codec)
public Results.Status(play.api.mvc.Results.Status status, play.twirl.api.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.File content)
public Results.Status(play.api.mvc.Results.Status status, java.io.File content, boolean inline)
public Results.Status(play.api.mvc.Results.Status status, java.io.File content, boolean inline, java.lang.String filename)
public Results.Status(play.api.mvc.Results.Status status, java.io.File content, int chunkSize)
public Results.Status(play.api.mvc.Results.Status status, java.io.InputStream content, int chunkSize)
public play.api.mvc.Result toScala()
Result
toScala
in interface Result
toScala
in interface SimpleResult
public Results.Status as(java.lang.String contentType)
public java.lang.String toString()
toString
in class java.lang.Object