| 程序包 | 说明 |
|---|---|
| org.smartboot.http.server | |
| org.smartboot.http.server.handler | |
| org.smartboot.http.server.impl |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpServerHandler |
HttpServerConfiguration.getHttpServerHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpBootstrap |
HttpBootstrap.httpHandler(HttpServerHandler httpHandler)
往 http 处理器管道中注册 Handle
|
void |
HttpServerConfiguration.setHttpServerHandler(HttpServerHandler httpServerHandler) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicAuthServerHandler |
class |
HttpRouteHandler |
class |
HttpStaticResourceHandler
静态资源加载Handle
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpRouteHandler |
HttpRouteHandler.route(String urlPattern,
HttpServerHandler httpHandler)
配置URL路由
|
| 构造器和说明 |
|---|
BasicAuthServerHandler(String username,
String password,
HttpServerHandler httpServerHandler) |
HttpRouteHandler(HttpServerHandler defaultHandler) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HttpMessageProcessor.httpServerHandler(HttpServerHandler httpServerHandler) |
Copyright © 2024. All rights reserved.