play.mvc
Class Results.Status

java.lang.Object
  extended by play.mvc.SimpleResult
      extended by 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)
           
 
Method Summary
 Results.Status as(java.lang.String contentType)
          Change the Content-Type header for this result.
 play.api.mvc.SimpleResult getWrappedSimpleResult()
          Get the wrapped simple result
 java.lang.String toString()
           
 
Methods inherited from class play.mvc.SimpleResult
getWrappedResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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