play.mvc.results
Class Result
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
play.mvc.results.Result
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BadRequest, Error, Forbidden, NoResult, NotFound, NotModified, Ok, Redirect, RedirectToStatic, RenderBinary, RenderJson, RenderStatic, RenderTemplate, RenderText, RenderXml, Unauthorized
public abstract class Result
- extends RuntimeException
Result support
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Result
public Result()
Result
public Result(String description)
apply
public abstract void apply(Http.Request request,
Http.Response response)
setContentTypeIfNotSet
protected void setContentTypeIfNotSet(Http.Response response,
String contentType)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly