Package io.vertx.rxjava3.httpproxy
Interface ProxyInterceptor
-
public interface ProxyInterceptor
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ProxyInterceptorgetDelegate()io.reactivex.rxjava3.core.Single<ProxyResponse>handleProxyRequest(ProxyContext context)Handle the proxy request at the stage of this interceptor.io.reactivex.rxjava3.core.CompletablehandleProxyResponse(ProxyContext context)Handle the proxy response at the stage of this interceptor.static ProxyInterceptornewInstance(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.CompletablerxHandleProxyResponse(ProxyContext context)Handle the proxy response at the stage of this interceptor.
-
-
-
Method Detail
-
getDelegate
ProxyInterceptor getDelegate()
-
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)
-
-