default HttpProxy |
HttpProxy.addInterceptor(ProxyInterceptor interceptor) |
Add an interceptor to the interceptor chain.
|
HttpProxy |
HttpProxy.addInterceptor(ProxyInterceptor interceptor,
boolean supportsWebSocketUpgrade) |
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(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(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.
|