November 2017
Intermediate to advanced
420 pages
10h 29m
English
By default, the JAX-RS runtime decodes all the request parameters before injecting the extracted values into the target variables annotated with one of the following annotations: @FormParam, @PathParam, @MatrixParam, or @QueryParam. You can use @javax.ws.rs.Encoded to disable the automatic decoding of the parameter values. With the @Encoded annotation, the value of parameters will be provided in the encoded form itself. This annotation can be used on a class, method, or parameters. If you set this annotation on a method, it will disable decoding for all the parameters defined for this method. You can use this annotation on a class to disable decoding for all the parameters of all the methods. In the following example, the value of ...