reta commented on code in PR #2983:
URL: https://github.com/apache/cxf/pull/2983#discussion_r3034345311
##########
rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/UriInfoImpl.java:
##########
@@ -246,22 +246,26 @@ public URI resolve(URI uri) {
@Override
public String getMatchedResourceTemplate() {
if (stack != null) {
- final List<URITemplate> templates = new LinkedList<>();
+ String matchedResourceTemplate = (String)
message.getExchange().getEndpoint()
Review Comment:
I think there are two problems (which we could tackle separately):
- the `getMatchedResourceTemplate` fix (which fails with exception)
- the application path component (which seems to be not taken into account
all the time)
For `getMatchedResourceTemplate` , I think I have a clean fix, @jungm do
you mind if I push a change into your pull request? Thank you
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]