Package | Description |
---|---|
bayou.file |
Utilities for files.
|
bayou.form |
Html form handling.
|
bayou.http |
Http server.
|
bayou.websocket |
WebSocket server.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseImpl |
StaticHandler.handle(HttpRequest request)
Try to serve the request with a file response.
|
Modifier and Type | Method and Description |
---|---|
Async<FormData> |
FormParser.parse(HttpRequest request)
Parse the request for POST form data.
|
static Async<FormData> |
FormData.parse(HttpRequest request)
Parse the request for POST form data.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpRequestImpl
A mutable implementation of HttpRequest.
|
Modifier and Type | Field and Description |
---|---|
HttpRequest |
HttpAccess.request
The http request.
|
Modifier and Type | Method and Description |
---|---|
static HttpRequest |
HttpRequest.current()
The current fiber-local request; null if none.
|
Modifier and Type | Method and Description |
---|---|
Async<List<Cookie>> |
CookieStorage.getCookies(HttpRequest request)
Get the cookies that should be sent with the request.
|
Async<HttpResponse> |
HttpHandler.handle(HttpRequest request)
Generate a response for the request.
|
Async<HttpResponse> |
HotHttpHandler.handle(HttpRequest request)
Handle an http request.
|
Async<Void> |
HttpClientConnection.send(HttpRequest request)
Send a request over this connection.
|
Async<HttpResponse> |
HttpClient.send(HttpRequest request)
Send a request and wait for the final response.
|
Async<HttpResponse> |
HttpClient.send0(HttpRequest request,
TcpAddress dest)
Send a request to `dest`.
|
Async<Void> |
CookieStorage.setCookies(HttpRequest request,
HttpResponse response)
Save the cookies carried in the response.
|
static void |
HttpRequest.setFiberLocal(HttpRequest request)
Set the fiber-local request.
|
Async<HttpResponse> |
HttpUpgrader.tryUpgrade(HttpRequest httpRequest,
TcpConnection tcpConnection)
Try to upgrade the http connection.
|
Constructor and Description |
---|
HttpAccess(HttpRequest request,
HttpResponse response,
long responseBodySize,
long timeRequestReceived,
long timeResponseBegins,
long timeResponseEnds,
Exception responseError)
Create an HttpAccess instance.
|
HttpRequestImpl(HttpRequest originRequest)
Copy an http request.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
WebSocketRequest.httpRequest()
The HTTP request associated with this WebSocket handshake request.
|
Constructor and Description |
---|
WebSocketRequest(HttpRequest httpRequest)
Created a WebSocketRequest based on an HttpRequest.
|