Class QueryInterceptor


  • public class QueryInterceptor
    extends Object
    The general interceptor for query parameters.

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

    • Field Detail

      • __TYPE_ARG

        public static final io.vertx.lang.rx.TypeArg<QueryInterceptor> __TYPE_ARG
    • Constructor Detail

      • QueryInterceptor

        public QueryInterceptor​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • changeQueryParams

        public 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

        public 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

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