| Package | Description |
|---|---|
| org.rapidoid.http | |
| org.rapidoid.pojo.web |
| Modifier and Type | Method and Description |
|---|---|
Req |
Req.async()
Informs the HTTP server that the request will be handled asynchronously (typically on another thread).
|
Req |
Req.body(byte[] body)
Sets the raw body data of the HTTP request.
|
Req |
Resp.done()
Informs the HTTP server that the asynchronous handling has finished and the response is complete.
Alias to request().done(). |
Req |
Req.done()
Informs the HTTP server that the asynchronous handling has finished and the response is complete.
|
Req |
Req.host(String host)
Sets the value of the Host header of the HTTP request.
|
Req |
Req.path(String path)
Sets the path of the HTTP request.
|
Req |
Req.query(String query)
Sets the query of the HTTP request.
|
static Req |
Reqs.req() |
Req |
Resp.request()
Gets the reference to the request object.
|
Req |
Req.uri(String uri)
Sets the uri of the HTTP request.
|
Req |
Req.verb(String verb)
Sets the verb of the HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
Req |
WebReq.getReq() |
| Constructor and Description |
|---|
WebReq(Req req) |
Copyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.