What are the default values for @QueryParam when @DefaultValue is not specified?
Short answer The parameter values will be: valString: null valInt: 0 valBool: false A bit longer answer Quoting the Java EE 7 tutorial about extracting request parameters: If @DefaultValue is not used in conjunction with @QueryParam, and the query parameter is not present in the request, the value will be an empty collection for List, … Read more