Package | Description |
---|---|
io.vertx.ext.web.proxy.handler | |
io.vertx.httpproxy | |
io.vertx.rxjava3.httpproxy |
Modifier and Type | Method and Description |
---|---|
static ProxyHandler |
ProxyHandler.create(HttpProxy httpProxy) |
static ProxyHandler |
ProxyHandler.create(HttpProxy httpProxy,
int port,
String host) |
Modifier and Type | Method and Description |
---|---|
HttpProxy |
HttpProxy.addInterceptor(ProxyInterceptor interceptor)
Add an interceptor to the interceptor chain.
|
default HttpProxy |
HttpProxy.origin(int port,
String host)
Set the host name and port number of the origin.
|
default HttpProxy |
HttpProxy.origin(SocketAddress address)
Set the
SocketAddress of the origin. |
HttpProxy |
HttpProxy.originRequestProvider(java.util.function.BiFunction<HttpServerRequest,HttpClient,Future<HttpClientRequest>> provider)
Set a provider that creates the request to the origin server based the incoming HTTP request.
|
default HttpProxy |
HttpProxy.originSelector(java.util.function.Function<HttpServerRequest,Future<SocketAddress>> selector)
Set a selector that resolves the origin address based on the incoming HTTP request.
|
static HttpProxy |
HttpProxy.reverseProxy(HttpClient client)
Create a new
HttpProxy instance. |
static HttpProxy |
HttpProxy.reverseProxy(ProxyOptions options,
HttpClient client)
Create a new
HttpProxy instance. |
Modifier and Type | Method and Description |
---|---|
HttpProxy |
HttpProxy.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpProxy |
HttpProxy.newInstance(HttpProxy arg) |
Constructor and Description |
---|
HttpProxy(HttpProxy delegate) |
Copyright © 2024 Eclipse. All rights reserved.