Jax-rs automatic decode pathparam

前端 未结 2 2108
感动是毒
感动是毒 2021-02-13 17:02

I have a jax-rs service which receives a set of parameters in the path, pathparameters. These parameters may be strings containing values not suitable for urls, so they are urle

2条回答
  •  南旧
    南旧 (楼主)
    2021-02-13 17:28

    Quote from PathParam javadoc:

    The value is URL decoded unless this is disabled using the Encoded annotation.

提交回复
热议问题