Package play.mvc.results
Class Result
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- play.utils.FastRuntimeException
-
- play.mvc.results.Result
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
Error,NoResult,NotFound,NotModified,Ok,Redirect,RedirectToStatic,RenderBinary,RenderHtml,RenderJson,RenderStatic,RenderTemplate,RenderText,RenderXml,Status,Unauthorized,View
public abstract class Result extends FastRuntimeException
Result support- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidapply(Http.Request request, Http.Response response, Scope.Session session, Scope.RenderArgs renderArgs, Scope.Flash flash)booleanisRenderingTemplate()protected voidsetContentTypeIfNotSet(Http.Response response, java.lang.String contentType)-
Methods inherited from class play.utils.FastRuntimeException
fillInStackTrace
-
-
-
-
Method Detail
-
apply
public abstract void apply(Http.Request request, Http.Response response, Scope.Session session, Scope.RenderArgs renderArgs, Scope.Flash flash)
-
setContentTypeIfNotSet
protected void setContentTypeIfNotSet(Http.Response response, java.lang.String contentType)
-
isRenderingTemplate
public boolean isRenderingTemplate()
-
-