public interface ProxyContext
Modifier and Type | Method and Description |
---|---|
<T> T |
get(String name,
Class<T> type)
Get a payload attached to this context
|
ProxyRequest |
request() |
ProxyResponse |
response() |
Future<ProxyResponse> |
sendRequest() |
Future<Void> |
sendResponse() |
void |
set(String name,
Object value)
Attach a payload to the context
|
ProxyRequest request()
ProxyResponse response()
null
if the response has not been sentFuture<ProxyResponse> sendRequest()
void set(String name, Object value)
name
- the payload namevalue
- any payload valueCopyright © 2023 Eclipse. All rights reserved.