Package play.mvc.results
Class RenderTemplate
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- play.utils.FastRuntimeException
-
- play.mvc.results.Result
-
- play.mvc.results.RenderTemplate
-
- All Implemented Interfaces:
java.io.Serializable
public class RenderTemplate extends Result
200 OK with a template rendering- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RenderTemplate(Template template, java.util.Map<java.lang.String,java.lang.Object> arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Http.Request request, Http.Response response)
java.util.Map<java.lang.String,java.lang.Object>
getArguments()
java.lang.String
getContent()
java.lang.String
getName()
long
getRenderTime()
-
Methods inherited from class play.mvc.results.Result
getEncoding, setContentTypeIfNotSet
-
Methods inherited from class play.utils.FastRuntimeException
fillInStackTrace
-
-
-
-
Constructor Detail
-
RenderTemplate
public RenderTemplate(Template template, java.util.Map<java.lang.String,java.lang.Object> arguments)
-
-
Method Detail
-
apply
public void apply(Http.Request request, Http.Response response)
-
getName
public java.lang.String getName()
-
getContent
public java.lang.String getContent()
-
getArguments
public java.util.Map<java.lang.String,java.lang.Object> getArguments()
-
getRenderTime
public long getRenderTime()
-
-