play.mvc.results
Class RenderXml

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by play.utils.FastRuntimeException
                  extended by play.mvc.results.Result
                      extended by play.mvc.results.RenderXml
All Implemented Interfaces:
java.io.Serializable

public class RenderXml
extends Result

200 OK with a text/xml

See Also:
Serialized Form

Constructor Summary
RenderXml(java.lang.CharSequence xml)
           
RenderXml(org.w3c.dom.Document document)
           
RenderXml(java.lang.Object o)
           
RenderXml(java.lang.Object o, com.thoughtworks.xstream.XStream xstream)
           
 
Method Summary
 void apply(Http.Request request, Http.Response response)
           
 
Methods inherited from class play.mvc.results.Result
getEncoding, setContentTypeIfNotSet
 
Methods inherited from class play.utils.FastRuntimeException
fillInStackTrace
 
Methods inherited from class java.lang.Throwable
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

RenderXml

public RenderXml(java.lang.CharSequence xml)

RenderXml

public RenderXml(org.w3c.dom.Document document)

RenderXml

public RenderXml(java.lang.Object o,
                 com.thoughtworks.xstream.XStream xstream)

RenderXml

public RenderXml(java.lang.Object o)
Method Detail

apply

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


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