public class JlHttpContextHandler extends Object implements HTTPServer.ContextHandler
| 构造器和说明 |
|---|
JlHttpContextHandler(org.noear.solon.core.handle.Handler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
handleDo(HTTPServer.Request request,
HTTPServer.Response response) |
void |
serve(HTTPServer.Request request,
HTTPServer.Response response)
Serves the given request using the given response.
|
public JlHttpContextHandler(org.noear.solon.core.handle.Handler handler)
public void serve(HTTPServer.Request request, HTTPServer.Response response) throws IOException
HTTPServer.ContextHandlerserve 在接口中 HTTPServer.ContextHandlerrequest - the request to be servedresponse - the response to be filledIOException - if an IO error occursprotected void handleDo(HTTPServer.Request request, HTTPServer.Response response) throws IOException
IOExceptionCopyright © 2023. All rights reserved.