eclipse-ee4j / eclipse-ee4j/jersey

Make request URI available in response object

Open
#3,919 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

For logging purposes I'd like to access the `request uri` which was used from the returned response object (`InboundJaxrsResponse`). AFAICS this information is currently only available from the `toString()` method which I would like to avoid parsing:

InboundJaxrsResponse{context=ClientResponse{method=POST, uri=https://xyz.com/webapp/servlet, status=200, reason=OK}}

Is there any reason we shouldn't add a method `getRequestUri()`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.