public class HttpToHttpsHandler extends Object implements io.undertow.server.HttpHandler
| 限定符和类型 | 字段和说明 |
|---|---|
protected UndertowConfig |
config |
protected String |
httpsPrefix |
protected io.undertow.server.HttpHandler |
next |
protected int |
statusCode |
| 构造器和说明 |
|---|
HttpToHttpsHandler(io.undertow.server.HttpHandler next,
UndertowConfig undertowConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
buildRedirectHttpsUrl(io.undertow.server.HttpServerExchange exchange) |
protected void |
buildUrlPrefix(io.undertow.server.HttpServerExchange exchange) |
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
protected io.undertow.server.HttpHandler next
protected String httpsPrefix
protected int statusCode
protected UndertowConfig config
public HttpToHttpsHandler(io.undertow.server.HttpHandler next,
UndertowConfig undertowConfig)
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
throws Exception
handleRequest 在接口中 io.undertow.server.HttpHandlerExceptionprotected String buildRedirectHttpsUrl(io.undertow.server.HttpServerExchange exchange)
protected void buildUrlPrefix(io.undertow.server.HttpServerExchange exchange)
Copyright © 2019. All rights reserved.