public class OriginRequestProvider extends Object implements io.vertx.lang.rx.RxDelegate
ProxyContext
.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<OriginRequestProvider> |
__TYPE_ARG |
Constructor and Description |
---|
OriginRequestProvider(Object delegate) |
OriginRequestProvider(OriginRequestProvider delegate) |
Modifier and Type | Method and Description |
---|---|
Single<HttpClientRequest> |
create(ProxyContext proxyContext)
Create the to the origin server for a given
ProxyContext . |
boolean |
equals(Object o) |
static OriginRequestProvider |
fixedAddress(int port,
String host)
Creates a simple provider for a fixed
port and host . |
static OriginRequestProvider |
fixedAddress(SocketAddress address)
Creates a simple provider for a fixed .
|
OriginRequestProvider |
getDelegate() |
int |
hashCode() |
static OriginRequestProvider |
newInstance(OriginRequestProvider arg) |
Single<HttpClientRequest> |
rxCreate(ProxyContext proxyContext)
Create the to the origin server for a given
ProxyContext . |
static OriginRequestProvider |
selector(java.util.function.Function<ProxyContext,Single<SocketAddress>> selector)
Creates a provider that selects the origin server based on
ProxyContext . |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<OriginRequestProvider> __TYPE_ARG
public OriginRequestProvider(OriginRequestProvider delegate)
public OriginRequestProvider(Object delegate)
public OriginRequestProvider getDelegate()
getDelegate
in interface io.vertx.lang.rx.RxDelegate
public static OriginRequestProvider fixedAddress(int port, String host)
port
and host
.port
- host
- public static OriginRequestProvider fixedAddress(SocketAddress address)
address
- public static OriginRequestProvider selector(java.util.function.Function<ProxyContext,Single<SocketAddress>> selector)
ProxyContext
.selector
- public Single<HttpClientRequest> create(ProxyContext proxyContext)
ProxyContext
.proxyContext
- the context of the proxied request and responsepublic Single<HttpClientRequest> rxCreate(ProxyContext proxyContext)
ProxyContext
.proxyContext
- the context of the proxied request and responsepublic static OriginRequestProvider newInstance(OriginRequestProvider arg)
Copyright © 2025 Eclipse. All rights reserved.