Class Parameters

    • Field Detail

      • __TYPE_ARG

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

      • Parameters

        public Parameters​(Parameters delegate)
      • Parameters

        public Parameters​(Object delegate)
    • Method Detail

      • hashCode

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

        public static ParameterProcessorFactory param​(String parameterName,
                                                      NumberSchemaBuilder schemaBuilder)
        Creates a new required number parameter. Depending on the type provided in schemaBuilder, the parser will parse the number as Long or Double
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • optionalParam

        public static ParameterProcessorFactory optionalParam​(String parameterName,
                                                              NumberSchemaBuilder schemaBuilder)
        Creates a new optional number parameter. Depending on the type provided in schemaBuilder, the parser will parse the number as Long or Double
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • optionalParam

        public static ParameterProcessorFactory optionalParam​(String parameterName,
                                                              ArraySchemaBuilder schemaBuilder)
        Creates a new optional array parameter serialized as comma separated
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • optionalParam

        public static ParameterProcessorFactory optionalParam​(String parameterName,
                                                              TupleSchemaBuilder schemaBuilder)
        Creates a new optional tuple parameter serialized as comma separated
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • param

        public static ParameterProcessorFactory param​(String parameterName,
                                                      ObjectSchemaBuilder schemaBuilder)
        Creates a required object parameter serialized as comma separated, like key1,value1,key2,value2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • optionalParam

        public static ParameterProcessorFactory optionalParam​(String parameterName,
                                                              ObjectSchemaBuilder schemaBuilder)
        Creates an optional object parameter serialized as comma separated, like key1,value1,key2,value2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • param

        public static ParameterProcessorFactory param​(String parameterName,
                                                      SchemaBuilder schemaBuilder,
                                                      io.vertx.ext.web.validation.impl.parser.ValueParser<String> valueParser)
        Creates a required parameter providing a
        Parameters:
        parameterName -
        schemaBuilder -
        valueParser -
        Returns:
      • optionalParam

        public static ParameterProcessorFactory optionalParam​(String parameterName,
                                                              SchemaBuilder schemaBuilder,
                                                              io.vertx.ext.web.validation.impl.parser.ValueParser<String> valueParser)
        Creates an optional parameter providing a
        Parameters:
        parameterName -
        schemaBuilder -
        valueParser -
        Returns:
      • optionalSerializedParam

        public static StyledParameterProcessorFactory optionalSerializedParam​(String parameterName,
                                                                              ArrayParserFactory arrayParserFactory,
                                                                              ArraySchemaBuilder schemaBuilder)
        Creates an optional array parameter deserializable using the provided parser factory. Look at Parsers for available parser factories
        Parameters:
        parameterName -
        arrayParserFactory -
        schemaBuilder -
        Returns:
      • optionalSerializedParam

        public static StyledParameterProcessorFactory optionalSerializedParam​(String parameterName,
                                                                              TupleParserFactory tupleParserFactory,
                                                                              TupleSchemaBuilder schemaBuilder)
        Creates an optional tuple parameter deserializable using the provided parser factory. Look at Parsers for available parser factories
        Parameters:
        parameterName -
        tupleParserFactory -
        schemaBuilder -
        Returns:
      • optionalSerializedParam

        public static StyledParameterProcessorFactory optionalSerializedParam​(String parameterName,
                                                                              ObjectParserFactory objectParserFactory,
                                                                              ObjectSchemaBuilder schemaBuilder)
        Creates an optional object parameter deserializable using the provided parser factory. Look at Parsers for available parser factories
        Parameters:
        parameterName -
        objectParserFactory -
        schemaBuilder -
        Returns:
      • explodedParam

        public static StyledParameterProcessorFactory explodedParam​(String parameterName,
                                                                    ArraySchemaBuilder schemaBuilder)
        Creates a required exploded array parameter. Exploded parameters looks like parameterName=item1 ¶meterName=item2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • optionalExplodedParam

        public static StyledParameterProcessorFactory optionalExplodedParam​(String parameterName,
                                                                            ArraySchemaBuilder schemaBuilder)
        Creates an optional exploded array parameter. Exploded parameters looks like parameterName=item1 ¶meterName=item2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • explodedParam

        public static StyledParameterProcessorFactory explodedParam​(String parameterName,
                                                                    TupleSchemaBuilder schemaBuilder)
        Creates a required exploded tuple parameter. Exploded parameters looks like parameterName=item1 ¶meterName=item2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • optionalExplodedParam

        public static StyledParameterProcessorFactory optionalExplodedParam​(String parameterName,
                                                                            TupleSchemaBuilder schemaBuilder)
        Creates an optional exploded tuple parameter. Exploded parameters looks like parameterName=item1 ¶meterName=item2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • explodedParam

        public static StyledParameterProcessorFactory explodedParam​(String parameterName,
                                                                    ObjectSchemaBuilder schemaBuilder)
        Creates a required exploded object parameter. Exploded parameters looks like key1=value1&key2=value2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • optionalExplodedParam

        public static StyledParameterProcessorFactory optionalExplodedParam​(String parameterName,
                                                                            ObjectSchemaBuilder schemaBuilder)
        Creates an optional exploded object parameter. Exploded parameters looks like key1=value1&key2=value2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • deepObjectParam

        public static StyledParameterProcessorFactory deepObjectParam​(String parameterName,
                                                                      ObjectSchemaBuilder schemaBuilder)
        Creates a required deep object parameter. Deep object parameters looks like parameterName[key1]=value1 ¶meterName[key2]=value2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns:
      • optionalDeepObjectParam

        public static StyledParameterProcessorFactory optionalDeepObjectParam​(String parameterName,
                                                                              ObjectSchemaBuilder schemaBuilder)
        Creates an optional deep object parameter. Deep object parameters looks like parameterName[key1]=value1 ¶meterName[key2]=value2
        Parameters:
        parameterName -
        schemaBuilder -
        Returns: