Package | Description |
---|---|
net.bluemind.central.reverse.proxy.vertx | |
net.bluemind.central.reverse.proxy.vertx.impl |
Modifier and Type | Method and Description |
---|---|
default HttpProxy |
HttpProxy.origin(int port,
java.lang.String host)
Set the host name and port number of the origin.
|
default HttpProxy |
HttpProxy.origin(io.vertx.core.net.SocketAddress address)
Set the
SocketAddress of the origin. |
HttpProxy |
HttpProxy.originSelector(java.util.function.Function<HttpServerRequestContext,io.vertx.core.Future<io.vertx.core.net.SocketAddress>> selector)
Set a selector that resolves the origin address based on the
outbound request.
|
HttpProxy |
HttpProxy.responseHook(java.util.function.BiConsumer<HttpServerRequestContext,ProxyResponse> responseHook) |
static HttpProxy |
HttpProxy.reverseProxy(io.vertx.core.http.HttpClient client)
Create a new
HttpProxy instance. |
static HttpProxy |
HttpProxy.reverseProxy(ProxyOptions options,
io.vertx.core.http.HttpClient client)
Create a new
HttpProxy instance. |
Modifier and Type | Class and Description |
---|---|
class |
HttpProxyImpl |
Modifier and Type | Method and Description |
---|---|
HttpProxy |
HttpProxyImpl.originSelector(java.util.function.Function<HttpServerRequestContext,io.vertx.core.Future<io.vertx.core.net.SocketAddress>> selector) |
HttpProxy |
HttpProxyImpl.responseHook(java.util.function.BiConsumer<HttpServerRequestContext,ProxyResponse> responseHook) |
Copyright © 2022. All Rights Reserved.