Skip to content
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

ServletInputStreamAdapter do not implement ServletInputStream abstract class methods for servlet 3.1 and above #355

Closed
shantanugithub opened this issue Sep 25, 2018 · 7 comments · Fixed by #453
Labels
Milestone

Comments

@shantanugithub
Copy link

shantanugithub commented Sep 25, 2018

Why doesn't ServletInputStreamAdapter implement ServletInputStream abstract class methods for servlet 3.1 and above ?

ServletInputStreamAdapter do not implement ServletInputStream abstract class methods (setReadListener() and isReady()) for servlet 3.1 and above. I use logbook for req/res logging in my spring boot application (1.5.3.RELEASE) which uses tomcat 8.5
My question is whether using zalando logbook in my code will hamper the NIO capability of my tomcat application ?

@whiskeysierra
Copy link
Collaborator

We're using servlet api 3.1.1 as a dependency and I can't see those methods anywhere.

@shantanugithub shantanugithub changed the title ServletInputStreamAdapter do not implement ServletInputStream interface methods for servlet 3.1 and above ServletInputStreamAdapter do not implement ServletInputStream abstract class methods for servlet 3.1 and above Sep 25, 2018
@shantanugithub
Copy link
Author

@whiskeysierra
Copy link
Collaborator

Interesting. Looks like the glassfish version of the jar doesn't contain the proper classes. I'll try to prepare a fix.

@shantanugithub
Copy link
Author

👍

@shantanugithub
Copy link
Author

@whiskeysierra Any update on the fix ?

@whiskeysierra
Copy link
Collaborator

Sorry, my schedule is pretty packed at the moment. Do you mind preparing a pull request?

@bcole
Copy link

bcole commented Jan 29, 2019

I think we might be running into this same issue, our requests are not completing when I turn on Logbook.

Anyone have a fix for this?

@whiskeysierra whiskeysierra added this to the 2.0.0 milestone Feb 21, 2019
whiskeysierra added a commit that referenced this issue Mar 4, 2019
whiskeysierra added a commit that referenced this issue Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants