| 限定符和类型 | 字段和说明 |
|---|---|
protected HTTPServer.Request |
HTTPServer.Response.req |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
JlHttpContextHandler.handleDo(HTTPServer.Request request,
HTTPServer.Response response) |
protected void |
HTTPServer.handleMethod(HTTPServer.Request req,
HTTPServer.Response resp)
Handles a transaction according to the request method.
|
void |
HTTPServer.handleTrace(HTTPServer.Request req,
HTTPServer.Response resp)
Handles a TRACE method request.
|
protected void |
HTTPServer.handleTransaction(HTTPServer.Request req,
HTTPServer.Response resp)
Handles a single transaction on a connection.
|
protected boolean |
HTTPServer.preprocessTransaction(HTTPServer.Request req,
HTTPServer.Response resp)
Preprocesses a transaction, performing various validation checks
and required special header handling, possibly returning an
appropriate response.
|
protected void |
HTTPServer.serve(HTTPServer.Request req,
HTTPServer.Response resp)
Serves the content for a request by invoking the context
handler for the requested context (path) and HTTP method.
|
void |
HTTPServer.ContextHandler.serve(HTTPServer.Request req,
HTTPServer.Response resp)
Serves the given request using the given response.
|
void |
JlHttpContextHandler.serve(HTTPServer.Request request,
HTTPServer.Response response) |
void |
HTTPServer.Response.setClientCapabilities(HTTPServer.Request req)
Sets the request which is used in determining the capabilities
supported by the client (e.g. compression, encoding, etc.)
|
| 构造器和说明 |
|---|
JlHttpContext(HTTPServer.Request request,
HTTPServer.Response response) |
MultipartIterator(HTTPServer.Request req)
Creates a new MultipartIterator from the given request.
|
Copyright © 2023. All rights reserved.