| Constructor and Description |
|---|
HttpProxyImpl(java.lang.String deploymentID,
ProxyOptions options,
io.vertx.core.http.HttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(io.vertx.core.http.HttpServerRequest outboundRequest)
Handle the outbound
HttpServerRequest. |
HttpProxy |
originSelector(java.util.function.Function<HttpServerRequestContext,io.vertx.core.Future<CloseableSession>> selector)
Set a selector that resolves the origin address based on the
outbound request.
|
HttpProxy |
responseHook(java.util.function.BiConsumer<HttpServerRequestContext,ProxyResponse> responseHook) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitorigin, origin, reverseProxy, reverseProxypublic HttpProxyImpl(java.lang.String deploymentID,
ProxyOptions options,
io.vertx.core.http.HttpClient client)
public HttpProxy originSelector(java.util.function.Function<HttpServerRequestContext,io.vertx.core.Future<CloseableSession>> selector)
HttpProxyoriginSelector in interface HttpProxyselector - the selectorpublic HttpProxy responseHook(java.util.function.BiConsumer<HttpServerRequestContext,ProxyResponse> responseHook)
responseHook in interface HttpProxypublic void handle(io.vertx.core.http.HttpServerRequest outboundRequest)
HttpProxyHttpServerRequest.Copyright © 2024. All Rights Reserved.