Interface QueryInterceptor


  • @Unstable
    public interface QueryInterceptor
    The general interceptor for query parameters.
    • Method Detail

      • changeQueryParams

        static ProxyInterceptor changeQueryParams​(Handler<MultiMap> changeQueries)
        Apply callbacks to modify the query parameters.
        Parameters:
        changeQueries - the operation to apply to the request query parameters
        Returns:
        the created interceptor
      • setQueryParam

        static ProxyInterceptor setQueryParam​(String name,
                                              String value)
        Add a query parameter to the request.
        Parameters:
        name - the parameter name
        value - the parameter value
        Returns:
        the created interceptor
      • removeQueryParam

        static ProxyInterceptor removeQueryParam​(String name)
        Remove a query parameter to the request.
        Parameters:
        name - the parameter name
        Returns:
        the created interceptor