Interface ProxyInterceptor


  • public interface ProxyInterceptor
    A HttpProxy interceptor.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Method Detail

      • handleProxyRequest

        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

        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

        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

        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
      • allowApplyToWebSocket

        boolean allowApplyToWebSocket()
        Used to set whether to apply the interceptor to the WebSocket handshake packet. The default value is false.
        Returns:
        the boolean value