The Colon is URL-encoded when Setting "@QueryParam" and "@Encoded" on JAX-RS
(Doc ID 2204722.1)
Last updated on OCTOBER 26, 2023
Applies to:Oracle WebLogic Server - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
In a JAX-RS resource the @QueryParam @Encoded is defined, for example, if the request string contained ":", it will be returned encoded in ":". When checking the specification, there is no mention that it is URL encoded. Therefore, it is assumed that you want to get the request string as is. Other servers (JBoss and WAS LibertyProfile) return unencoded.
When using Annotation Type QueryParam, the values are URL decoded unless this is disabled using the Encoded annotation.
When using Annotation Type Encoded, it disables automatic decoding of parameter values bound using QueryParam, PathParam, FormParam or MatrixParam. Using this annotation on a method will disable decoding for all parameters. Using this annotation on a class will disable decoding for all parameters of all methods.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document