-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Servlet API 2.5 #172
Comments
Can you provide a short list of changes between 2.5 and 3.0? I have never used either directly myself but rather via some frameworks. |
Some things we noticed (but not exhaustive):
Also, it would be useful to keep LogbookFilter non final, so that it can be extended in order to provide a default constructor with Logbook built up in that constructor (e.g. to use it in a web.xml file). |
This is indeed an existing known issue. See #94 and #169.
Not having a compile time dependency to those methods (and enum values) will make things "a bit" ugly but technically doable. Spring does it for years, with some success at least.
This is not really related to 2.5 but it would be a general feature. Would you expect that this newly created default constructor uses all the defaults for logbook? Or would you expect some customization options? Feel free to open another issue for this feature in particular. In general, I'd be thrilled if you could open a PR that changes the minimum requirement to 2.5 and also gets rid of the obvious issues (e.g. just uncomment/hardcode/ignore certain features/tests) just so we see the real size of the change we're talking about. |
…ay of testing against 2.5 in the build yet, suggestions welcome :)
Any ideas on next steps? We have already pushed a commit. |
I did not yet have the time to take a deeper look. Your PR is good first step. I'll try to take it as a foundation. I'll need to:
|
See comment in #182 |
All versions of logbook depend on javax.servlet version 3.
Can you please add support for version 2.5 of javax.servlet?
We cannot easily upgrade the servlet version.
The text was updated successfully, but these errors were encountered: