| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<ProxyContext> |
__TYPE_ARG |
| Constructor and Description |
|---|
ProxyContext(Object delegate) |
ProxyContext(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
|
ProxyContext |
getDelegate() |
int |
hashCode() |
static ProxyContext |
newInstance(ProxyContext arg) |
ProxyRequest |
request() |
ProxyResponse |
response() |
Single<ProxyResponse> |
rxSendRequest() |
Completable |
rxSendResponse() |
Single<ProxyResponse> |
sendRequest() |
Completable |
sendResponse() |
void |
set(String name,
Object value)
Attach a payload to the context
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<ProxyContext> __TYPE_ARG
public ProxyContext(ProxyContext delegate)
public ProxyContext(Object delegate)
public ProxyContext getDelegate()
public ProxyRequest request()
public ProxyResponse response()
null if the response has not been sentpublic Single<ProxyResponse> sendRequest()
public Single<ProxyResponse> rxSendRequest()
public Completable sendResponse()
public 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(ProxyContext arg)
Copyright © 2023 Eclipse. All rights reserved.