Simplify access to properties set in filters
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 400
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
Right now, HttpServletRequest can be used to access properties set in the filters, while filters themselves can access HTTP servlet attributes indirectly via nice API. Ideally the same should be possible for the JAX-RS application code.
One option is to add a method to Request, another as suggested by Bill - introduce a new Context
#### Affected Versions
[2.0]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the JAX-RS Request API and the proposed new Context option described in the issue. Determine how application code should access properties set by filters and how servlet attributes should be exposed; the work is done when one consistent, specified API supports both directions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100