|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
CorePlugin.rawInvocation(Http.Request request,
Http.Response response)
Intercept /@status and check that the Authorization header is valid. |
boolean |
PlayPlugin.rawInvocation(Http.Request request,
Http.Response response)
Let a chance to this plugin to fully manage this request |
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 |
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 |
RenderBinary.apply(Http.Request request,
Http.Response response)
|
void |
Error.apply(Http.Request request,
Http.Response response)
|
void |
Unauthorized.apply(Http.Request request,
Http.Response response)
|
void |
RenderXml.apply(Http.Request request,
Http.Response response)
|
void |
RenderTemplate.apply(Http.Request request,
Http.Response response)
|
abstract void |
Result.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 |
RedirectToStatic.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 |
RenderJson.apply(Http.Request request,
Http.Response response)
|
void |
RenderText.apply(Http.Request request,
Http.Response response)
|
void |
Forbidden.apply(Http.Request request,
Http.Response response)
|
void |
RenderStatic.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 | |
---|---|
void |
ServletWrapper.copyResponse(Http.Request request,
Http.Response response,
javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse)
|
Constructors in play.server with parameters of type Http.Response | |
---|---|
ServletWrapper.ServletInvocation(Http.Request request,
Http.Response response,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
Uses of Http.Response in play.test |
---|
Methods in play.test that return Http.Response | |
---|---|
static Http.Response |
FunctionalTest.DELETE(java.lang.String url)
Sends a DELETE request to the application under tests. |
static Http.Response |
FunctionalTest.GET(java.lang.String url)
sends a GET request to the application under tests. |
static Http.Response |
FunctionalTest.newResponse()
|
static Http.Response |
FunctionalTest.POST(java.lang.String url)
|
static Http.Response |
FunctionalTest.POST(java.lang.String url,
java.lang.String contenttype,
java.lang.String body)
Sends a POST request to the application under tests. |
static Http.Response |
FunctionalTest.PUT(java.lang.String url,
java.lang.String contenttype,
java.lang.String body)
Sends a PUT request to the application under tests. |
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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |