Package io.vertx.rxjava3.httpproxy
Interface ProxyInterceptor
-
- All Superinterfaces:
RxDelegate
public interface ProxyInterceptor extends RxDelegate
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ProxyInterceptor
getDelegate()
io.reactivex.rxjava3.core.Single<ProxyResponse>
handleProxyRequest(ProxyContext context)
Handle the proxy request at the stage of this interceptor.io.reactivex.rxjava3.core.Completable
handleProxyResponse(ProxyContext context)
Handle the proxy response at the stage of this interceptor.static ProxyInterceptor
newInstance(ProxyInterceptor arg)
io.reactivex.rxjava3.core.Single<ProxyResponse>
rxHandleProxyRequest(ProxyContext context)
Handle the proxy request at the stage of this interceptor.io.reactivex.rxjava3.core.Completable
rxHandleProxyResponse(ProxyContext context)
Handle the proxy response at the stage of this interceptor.
-
-
-
Method Detail
-
getDelegate
ProxyInterceptor getDelegate()
- Specified by:
getDelegate
in interfaceRxDelegate
-
handleProxyRequest
io.reactivex.rxjava3.core.Single<ProxyResponse> handleProxyRequest(ProxyContext context)
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
io.reactivex.rxjava3.core.Single<ProxyResponse> rxHandleProxyRequest(ProxyContext context)
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
io.reactivex.rxjava3.core.Completable handleProxyResponse(ProxyContext context)
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
io.reactivex.rxjava3.core.Completable rxHandleProxyResponse(ProxyContext context)
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
static ProxyInterceptor newInstance(ProxyInterceptor arg)
-
-