public class ProxyContext extends Object
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<ProxyContext> |
__TYPE_ARG |
| Constructor and Description |
|---|
ProxyContext(Object delegate) |
ProxyContext(io.vertx.httpproxy.ProxyContext delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
<T> T |
get(String name,
Class<T> type)
Get a payload attached to this context
|
io.vertx.httpproxy.ProxyContext |
getDelegate() |
int |
hashCode() |
static ProxyContext |
newInstance(io.vertx.httpproxy.ProxyContext arg) |
ProxyRequest |
request() |
ProxyResponse |
response() |
io.reactivex.rxjava3.core.Single<ProxyResponse> |
rxSendRequest() |
io.reactivex.rxjava3.core.Completable |
rxSendResponse() |
io.reactivex.rxjava3.core.Single<ProxyResponse> |
sendRequest() |
io.reactivex.rxjava3.core.Completable |
sendResponse() |
void |
set(String name,
Object value)
Attach a payload to the context
|
String |
toString() |
public static final TypeArg<ProxyContext> __TYPE_ARG
public ProxyContext(io.vertx.httpproxy.ProxyContext delegate)
public ProxyContext(Object delegate)
public io.vertx.httpproxy.ProxyContext getDelegate()
public ProxyRequest request()
public ProxyResponse response()
null if the response has not been sentpublic io.reactivex.rxjava3.core.Single<ProxyResponse> sendRequest()
public io.reactivex.rxjava3.core.Single<ProxyResponse> rxSendRequest()
public io.reactivex.rxjava3.core.Completable sendResponse()
public io.reactivex.rxjava3.core.Completable rxSendResponse()
public void set(String name, Object value)
name - the payload namevalue - any payload valuepublic <T> T get(String name, Class<T> type)
name - the payload nametype - the expected payload typepublic static ProxyContext newInstance(io.vertx.httpproxy.ProxyContext arg)
Copyright © 2022 Eclipse. All rights reserved.