Package | Description |
---|---|
play | |
play.db | |
play.mvc | |
play.mvc.results | |
play.plugins | |
play.server | |
play.server.ssl | |
play.test |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
PlayPlugin.routeRequest(Http.Request request)
Let some plugins route themself
|
boolean |
PlayPlugin.serveStatic(VirtualFile file,
Http.Request request,
Http.Response response)
Let a chance to this plugin to manage a static resource
|
Modifier and Type | Method and Description |
---|---|
boolean |
Evolutions.rawInvocation(Http.Request request,
Http.Response response) |
boolean |
DBPlugin.rawInvocation(Http.Request request,
Http.Response response) |
Modifier and Type | Field and Description |
---|---|
protected static Http.Request |
WebSocketController.request |
protected static Http.Request |
Controller.request
The current HTTP request: the message sent by the client to the server.
|
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<Http.Request> |
Http.Request.current
Bind to thread
|
Modifier and Type | Method and Description |
---|---|
static Http.Request |
Http.Request.createRequest(String _remoteAddress,
String _method,
String _path,
String _querystring,
String _contentType,
InputStream _body,
String _url,
String _host,
boolean _isLoopback,
int _port,
String _domain,
boolean _secure,
Map<String,Http.Header> _headers,
Map<String,Http.Cookie> _cookies)
All creation / initiating of new requests should use this method.
|
static Http.Request |
Http.Request.current()
Retrieve the current request
|
Http.Request |
Http.Request.get()
Useful because we sometime use a lazy request loader
|
Modifier and Type | Method and Description |
---|---|
static void |
WebSocketInvoker.invoke(Http.Request request,
Http.Inbound inbound,
Http.Outbound outbound) |
static void |
ActionInvoker.invoke(Http.Request request,
Http.Response response) |
static void |
WebSocketInvoker.resolve(Http.Request request) |
static void |
ActionInvoker.resolve(Http.Request request,
Http.Response response) |
static Router.Route |
Router.route(Http.Request request) |
static void |
Router.routeOnlyStatic(Http.Request request) |
Modifier and Type | Method and Description |
---|---|
abstract void |
WebSocketResult.apply(Http.Request request,
Http.Inbound inbound,
Http.Outbound outbound) |
void |
WebSocketDisconnect.apply(Http.Request request,
Http.Inbound inbound,
Http.Outbound outbound) |
void |
WebSocketResult.apply(Http.Request request,
Http.Response 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 |
Error.apply(Http.Request request,
Http.Response response) |
Modifier and Type | Method and Description |
---|---|
boolean |
PluginCollection.rawInvocation(Http.Request request,
Http.Response response) |
void |
PluginCollection.routeRequest(Http.Request request) |
boolean |
PluginCollection.serveStatic(VirtualFile file,
Http.Request request,
Http.Response response) |
Modifier and Type | Method and Description |
---|---|
Http.Request |
PlayHandler.parseRequest(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.codec.http.HttpRequest nettyRequest,
org.jboss.netty.channel.MessageEvent messageEvent) |
static Http.Request |
ServletWrapper.parseRequest(HttpServletRequest httpServletRequest) |
Modifier and Type | Method and Description |
---|---|
void |
PlayHandler.closeChunked(Http.Request playRequest,
Http.Response playResponse,
org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.codec.http.HttpRequest nettyRequest) |
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 |
FileService.serve(File localFile,
org.jboss.netty.handler.codec.http.HttpRequest nettyRequest,
org.jboss.netty.handler.codec.http.HttpResponse nettyResponse,
org.jboss.netty.channel.ChannelHandlerContext ctx,
Http.Request request,
Http.Response response,
org.jboss.netty.channel.Channel channel) |
static void |
PlayHandler.serve404(NotFound e,
org.jboss.netty.channel.ChannelHandlerContext ctx,
Http.Request request,
org.jboss.netty.handler.codec.http.HttpRequest nettyRequest) |
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) |
void |
PlayHandler.writeChunk(Http.Request playRequest,
Http.Response playResponse,
org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.codec.http.HttpRequest nettyRequest,
Object chunk) |
Constructor and Description |
---|
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) |
ServletInvocation(Http.Request request,
Http.Response response,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) |
WebSocketInvocation(Map<String,String> route,
Http.Request request,
Http.Inbound inbound,
Http.Outbound outbound,
org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
Modifier and Type | Method and Description |
---|---|
Http.Request |
SslPlayHandler.parseRequest(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.handler.codec.http.HttpRequest nettyRequest,
org.jboss.netty.channel.MessageEvent e) |
Modifier and Type | Method and Description |
---|---|
static Http.Request |
FunctionalTest.newRequest() |
Modifier and Type | Method and Description |
---|---|
static Http.Response |
FunctionalTest.DELETE(Http.Request request,
Object url)
Sends a DELETE request to the application under tests.
|
static Http.Response |
FunctionalTest.GET(Http.Request request,
Object url)
sends a GET request to the application under tests.
|
static Http.Response |
FunctionalTest.makeRequest(Http.Request request) |
static void |
FunctionalTest.makeRequest(Http.Request request,
Http.Response response) |
static Http.Response |
FunctionalTest.POST(Http.Request request,
Object url) |
static Http.Response |
FunctionalTest.POST(Http.Request request,
Object url,
Map<String,String> parameters,
Map<String,File> files) |
static Http.Response |
FunctionalTest.POST(Http.Request request,
Object url,
String contenttype,
InputStream body)
Sends a POST request to the application under tests.
|
static Http.Response |
FunctionalTest.POST(Http.Request request,
Object url,
String contenttype,
String body) |
static Http.Response |
FunctionalTest.PUT(Http.Request request,
Object url,
String contenttype,
String body)
Sends a PUT request to the application under tests.
|
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly