Skip to content

Conversation

@cookie-meringue
Copy link
Owner

Issue: #27

- Add anyMatches(HttpServletRequest) to check if any pattern matches a request.
- Introduce excludePatterns field to store patterns that should be excluded from interception.
- Add addExcludePatterns(RestfulPatterns) to register exclusion patterns.
- Enhance flexibility in request filtering by allowing exclusion of specific patterns.
…istration - #27

- Introduce methods to allow exclusion of specific RestfulPatterns from the interceptor.
- Add excludeRestfulPatterns(RestfulPattern...) and excludeRestfulPatterns(Collection<RestfulPattern>) for flexibility.
- Enhance RestInterceptorRegistration with functionality to exclude path patterns from interception
…l tracking - #27

- Introduced AtomicBoolean to track if doInternal is called during tests.
- Updated tests to verify that doInternal is only called for matching requests.
- Simplified checks for pre-flight requests and non-matching paths.
- Added test to verify doInternal is not called for excluded requests.
- Added test to ensure doInternal is called for non-excluded matching requests.
@cookie-meringue cookie-meringue self-assigned this Feb 14, 2025
@github-actions
Copy link

Test Results

23 tests   23 ✅  0s ⏱️
 3 suites   0 💤
 3 files     0 ❌

Results for commit 794e24f.

@cookie-meringue cookie-meringue merged commit 326f61f into main Feb 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants