Reputation: 349
How to make Wildfly to decode URL Path Parameters automatically when a request is received?
E.g.,
Request URI
/user/dusayanta%23XYZ
Should result into
/user/dusayanta#XYZ
Upvotes: 0
Views: 312
Reputation: 20243
Just use @PathParam
. The value is URL decoded unless this is disabled using the @Encoded
annotation.
See also:
Upvotes: 2