Class ProxyContext
java.lang.Object
io.vertx.rxjava3.httpproxy.ProxyContext
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclient()boolean<T> TGet a payload attached to this context.inthashCode()booleanstatic ProxyContextnewInstance(ProxyContext arg) request()response()voidAttach a payload to the context.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ProxyContext
-
ProxyContext
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
request
- Returns:
- the proxy request
-
response
- Returns:
- the proxy response, it might be
nullif the response has not been sent
-
sendRequest
- Returns:
-
rxSendRequest
- Returns:
-
sendResponse
- Returns:
-
rxSendResponse
- Returns:
-
isWebSocket
public boolean isWebSocket()- Returns:
- if this request or response is the handshake of WebSocket
-
set
-
get
-
client
- Returns:
- the use to interact with the origin server
-
newInstance
-