play.mvc.results
Class RenderTemplate

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by play.mvc.results.Result
                  extended by 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
RenderTemplate(Template template, java.util.Map<java.lang.String,java.lang.Object> args)
           
 
Method Summary
 void apply(Http.Request request, Http.Response response)
           
 java.lang.String getContent()
           
 
Methods inherited from class play.mvc.results.Result
setContentTypeIfNotSet
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RenderTemplate

public RenderTemplate(Template template,
                      java.util.Map<java.lang.String,java.lang.Object> args)
Method Detail

apply

public void apply(Http.Request request,
                  Http.Response response)
Specified by:
apply in class Result

getContent

public java.lang.String getContent()


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly