public class SmHttpContextHandler
extends org.smartboot.http.server.HttpServerHandler
| 构造器和说明 |
|---|
SmHttpContextHandler(org.noear.solon.core.handle.Handler handler) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handle(org.smartboot.http.server.HttpRequest request,
org.smartboot.http.server.HttpResponse response,
CompletableFuture<Object> future) |
protected void |
handle0(SmHttpContext ctx,
CompletableFuture<Object> future) |
protected void |
handleDo(SmHttpContext ctx) |
void |
onClose(org.smartboot.http.server.impl.Request request) |
void |
setExecutor(Executor executor) |
protected Executor executor
public SmHttpContextHandler(org.noear.solon.core.handle.Handler handler)
public void setExecutor(Executor executor)
public void onClose(org.smartboot.http.server.impl.Request request)
public void handle(org.smartboot.http.server.HttpRequest request,
org.smartboot.http.server.HttpResponse response,
CompletableFuture<Object> future)
throws IOException
IOExceptionprotected void handle0(SmHttpContext ctx, CompletableFuture<Object> future)
protected void handleDo(SmHttpContext ctx)
Copyright © 2023. All rights reserved.