java - Jax RS path param not working for accented characters -
hi have jar rs method below
@get @path("/versioning/{subjectid}") @produces("application/json")
where subjectid path param
when invoke service using below request
/v6.0/xyz/versioning/001033918in73804cáritastg
it gets changed automatically apache cxf
/v6.0/xyz/versioning/001033918in73804c%c3%a1ritastg
i assume cxf default encoding path param
however below error
2016-02-22 16:29:49,177 warning [org.apache.cxf.jaxrs.interceptor.jaxrsininterceptor] (http-127.0.0.1-8092-1) no root resource matching request path
is there way resolve this?
this change not made cxf http client. encodes á
%c3%a1
.
cxf warning about
no root resource matching request path
this not problem of encoding of proper use of @path
annotations. check there method matches url request.
Comments
Post a Comment