Class ProxyInterceptor
java.lang.Object
io.vertx.rxjava3.httpproxy.ProxyInterceptor
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProxyInterceptor(ProxyInterceptor delegate) ProxyInterceptor(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic ProxyInterceptorBuilderbuilder()Create a builder for implementing common HTTP interception hooks such as modifying headers or transforming the HTTP entity stream.booleanhandleProxyRequest(ProxyContext context) Handle the proxy request at the stage of this interceptor.handleProxyResponse(ProxyContext context) Handle the proxy response at the stage of this interceptor.inthashCode()static ProxyInterceptorrxHandleProxyRequest(ProxyContext context) Handle the proxy request at the stage of this interceptor.rxHandleProxyResponse(ProxyContext context) Handle the proxy response at the stage of this interceptor.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ProxyInterceptor
-
ProxyInterceptor
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
builder
Create a builder for implementing common HTTP interception hooks such as modifying headers or transforming the HTTP entity stream.- Returns:
- a builder for common interception
-
handleProxyRequest
Handle the proxy request at the stage of this interceptor.- Parameters:
context- the proxy context- Returns:
- when the request has actually been sent to the origin
-
rxHandleProxyRequest
Handle the proxy request at the stage of this interceptor.- Parameters:
context- the proxy context- Returns:
- when the request has actually been sent to the origin
-
handleProxyResponse
Handle the proxy response at the stage of this interceptor.- Parameters:
context- the proxy context- Returns:
- when the response has actually been sent to the user-agent
-
rxHandleProxyResponse
Handle the proxy response at the stage of this interceptor.- Parameters:
context- the proxy context- Returns:
- when the response has actually been sent to the user-agent
-
newInstance
-