Uses of Class
play.mvc.Http.Response

Packages that use Http.Response
play   
play.mvc   
play.mvc.results   
play.server   
play.test   
 

Uses of Http.Response in play
 

Methods in play with parameters of type Http.Response
 boolean PlayPlugin.rawInvocation(Http.Request request, Http.Response response)
          Give a chance to this plugin to fully manage this request
 boolean CorePlugin.rawInvocation(Http.Request request, Http.Response response)
          Intercept /@status and check that the Authorization header is valid.
 boolean PlayPlugin.serveStatic(VirtualFile file, Http.Request request, Http.Response response)
          Let a chance to this plugin to manage a static ressource
 

Uses of Http.Response in play.mvc
 

Fields in play.mvc declared as Http.Response
protected static Http.Response Controller.response
          The current HTTP response: The message sent back from the server after a request.
 

Fields in play.mvc with type parameters of type Http.Response
static java.lang.ThreadLocal<Http.Response> Http.Response.current
          Bind to thread
 

Methods in play.mvc that return Http.Response
static Http.Response Http.Response.current()
          Retrieve the current response
 

Methods in play.mvc with parameters of type Http.Response
static void ActionInvoker.invoke(Http.Request request, Http.Response response)
           
 

Uses of Http.Response in play.mvc.results
 

Methods in play.mvc.results with parameters of type Http.Response
 void Unauthorized.apply(Http.Request request, Http.Response response)
           
 void Status.apply(Http.Request request, Http.Response response)
           
abstract  void Result.apply(Http.Request request, Http.Response response)
           
 void RenderXml.apply(Http.Request request, Http.Response response)
           
 void RenderText.apply(Http.Request request, Http.Response response)
           
 void RenderTemplate.apply(Http.Request request, Http.Response response)
           
 void RenderStatic.apply(Http.Request request, Http.Response response)
           
 void RenderJson.apply(Http.Request request, Http.Response response)
           
 void RenderHtml.apply(Http.Request request, Http.Response response)
           
 void RenderBinary.apply(Http.Request request, Http.Response response)
           
 void RedirectToStatic.apply(Http.Request request, Http.Response response)
           
 void Redirect.apply(Http.Request request, Http.Response response)
           
 void Ok.apply(Http.Request request, Http.Response response)
           
 void NotModified.apply(Http.Request request, Http.Response response)
           
 void NotFound.apply(Http.Request request, Http.Response response)
           
 void NoResult.apply(Http.Request request, Http.Response response)
           
 void Forbidden.apply(Http.Request request, Http.Response response)
           
 void Error.apply(Http.Request request, Http.Response response)
           
 void BadRequest.apply(Http.Request request, Http.Response response)
           
protected  void Result.setContentTypeIfNotSet(Http.Response response, java.lang.String contentType)
           
 

Uses of Http.Response in play.server
 

Methods in play.server with parameters of type Http.Response
protected static void PlayHandler.addToResponse(Http.Response response, org.jboss.netty.handler.codec.http.HttpResponse nettyResponse)
           
static void PlayHandler.copyResponse(org.jboss.netty.channel.ChannelHandlerContext ctx, Http.Request request, Http.Response response, org.jboss.netty.handler.codec.http.HttpRequest nettyRequest)
           
 void ServletWrapper.copyResponse(Http.Request request, Http.Response response, HttpServletRequest servletRequest, HttpServletResponse servletResponse)
           
static void PlayHandler.serveStatic(RenderStatic renderStatic, org.jboss.netty.channel.ChannelHandlerContext ctx, Http.Request request, Http.Response response, org.jboss.netty.handler.codec.http.HttpRequest nettyRequest, org.jboss.netty.channel.MessageEvent e)
           
protected static void PlayHandler.writeResponse(org.jboss.netty.channel.ChannelHandlerContext ctx, Http.Response response, org.jboss.netty.handler.codec.http.HttpResponse nettyResponse, org.jboss.netty.handler.codec.http.HttpRequest nettyRequest)
           
 

Constructors in play.server with parameters of type Http.Response
PlayHandler.NettyInvocation(Http.Request request, Http.Response response, org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.handler.codec.http.HttpRequest nettyRequest, org.jboss.netty.channel.MessageEvent e)
           
ServletWrapper.ServletInvocation(Http.Request request, Http.Response response, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
           
 

Uses of Http.Response in play.test
 

Methods in play.test that return Http.Response
static Http.Response FunctionalTest.DELETE(Http.Request request, java.lang.Object url)
          Sends a DELETE request to the application under tests.
static Http.Response FunctionalTest.DELETE(java.lang.String url)
           
static Http.Response FunctionalTest.GET(Http.Request request, java.lang.Object url)
          sends a GET request to the application under tests.
static Http.Response FunctionalTest.GET(java.lang.Object url)
           
static Http.Response FunctionalTest.makeRequest(Http.Request request)
           
static Http.Response FunctionalTest.newResponse()
           
static Http.Response FunctionalTest.POST(Http.Request request, java.lang.Object url)
           
static Http.Response FunctionalTest.POST(Http.Request request, java.lang.Object url, java.util.Map<java.lang.String,java.lang.String> parameters, java.util.Map<java.lang.String,java.io.File> files)
           
static Http.Response FunctionalTest.POST(Http.Request request, java.lang.Object url, java.lang.String contenttype, java.io.InputStream body)
          Sends a POST request to the application under tests.
static Http.Response FunctionalTest.POST(Http.Request request, java.lang.Object url, java.lang.String contenttype, java.lang.String body)
           
static Http.Response FunctionalTest.POST(java.lang.Object url)
           
static Http.Response FunctionalTest.POST(java.lang.Object url, java.util.Map<java.lang.String,java.lang.String> parameters, java.util.Map<java.lang.String,java.io.File> files)
          Sends a POST request to the application under tests as a multipart form.
static Http.Response FunctionalTest.POST(java.lang.Object url, java.lang.String contenttype, java.io.InputStream body)
           
static Http.Response FunctionalTest.POST(java.lang.Object url, java.lang.String contenttype, java.lang.String body)
           
static Http.Response FunctionalTest.PUT(Http.Request request, java.lang.Object url, java.lang.String contenttype, java.lang.String body)
          Sends a PUT request to the application under tests.
static Http.Response FunctionalTest.PUT(java.lang.Object url, java.lang.String contenttype, java.lang.String body)
           
 

Methods in play.test with parameters of type Http.Response
static void FunctionalTest.assertCharset(java.lang.String charset, Http.Response response)
          Verify response charset encoding, as returned by the server in the Content-Type header.
static void FunctionalTest.assertContentEquals(java.lang.String content, Http.Response response)
          Exact equality assertion on response body
static void FunctionalTest.assertContentMatch(java.lang.String pattern, Http.Response response)
          Asserts response body matched a pattern or contains some text.
static void FunctionalTest.assertContentType(java.lang.String contentType, Http.Response response)
          Verify the response content-type
static void FunctionalTest.assertHeaderEquals(java.lang.String headerName, java.lang.String value, Http.Response response)
          Exact equality assertion on a response header value
static void FunctionalTest.assertIsNotFound(Http.Response response)
          Asserts a 404 (not found) response
static void FunctionalTest.assertIsOk(Http.Response response)
          Asserts a 2OO Success response
static void FunctionalTest.assertStatus(int status, Http.Response response)
          Asserts response status code
static java.lang.String FunctionalTest.getContent(Http.Response response)
          obtains the response body as a string
static void FunctionalTest.makeRequest(Http.Request request, Http.Response response)
           
 



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