Package io.quarkus.vertx.http.runtime
Class ForwardedProxyHandler
java.lang.Object
io.quarkus.vertx.http.runtime.ForwardedProxyHandler
- All Implemented Interfaces:
io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
public class ForwardedProxyHandler
extends Object
implements io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
Restricts who can send `Forwarded`, `X-Forwarded` or `X-Forwarded-*` headers to trusted proxies
configured through
ProxyConfig.trustedProxies
.-
Constructor Summary
ConstructorsConstructorDescriptionForwardedProxyHandler
(TrustedProxyCheck.TrustedProxyCheckBuilder proxyCheckBuilder, Supplier<io.vertx.core.Vertx> vertx, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> delegate, ForwardingProxyOptions forwardingProxyOptions) -
Method Summary
-
Constructor Details
-
ForwardedProxyHandler
public ForwardedProxyHandler(TrustedProxyCheck.TrustedProxyCheckBuilder proxyCheckBuilder, Supplier<io.vertx.core.Vertx> vertx, io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest> delegate, ForwardingProxyOptions forwardingProxyOptions)
-
-
Method Details
-
handle
public void handle(io.vertx.core.http.HttpServerRequest event) - Specified by:
handle
in interfaceio.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
-