Modifier and Type | Method and Description |
---|---|
default HttpProxy |
HttpProxy.origin(int port,
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(Function<io.vertx.core.http.HttpServerRequest,io.vertx.core.Future<io.vertx.core.net.SocketAddress>> selector)
Set a selector that resolves the origin address based on the outbound request.
|
static HttpProxy |
HttpProxy.reverseProxy(io.vertx.core.http.HttpClient client)
Create a new
HttpProxy instance. |
Copyright © 2021 Eclipse. All rights reserved.