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

[SCB-637] Enhance HttpServletRequestEx impl #746

Merged
merged 3 commits into from Jun 4, 2018

Conversation

wujimin
Copy link
Contributor

@wujimin wujimin commented Jun 3, 2018

No description provided.

…rlencoded even not post request (servlet 3.1 defined only parsed for post request)
…ClientRequestToHttpServletRequest/VertxServerRequestToHttpServletRequest/InvocationToHttpServletRequest
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.006%) to 87.523% when pulling fb6022a on wujimin:enhance-HttpServletRequestEx-impl into d44a423 on apache:master.

@wujimin wujimin changed the title [SCB-637] Enhance http servlet request ex impl [SCB-637] Enhance HttpServletRequestEx impl Jun 4, 2018
return super.getParameterMap();
}

Map<String, List<String>> listMap = parseUrlEncodedBody();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the content type is not url encoded, we will consume the input stream, and we cannot read the body content again.
I think the need to check the content type before parse the body.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already checked between line 104~107

@liubao68 liubao68 merged commit 517a9ff into apache:master Jun 4, 2018
@wujimin wujimin deleted the enhance-HttpServletRequestEx-impl branch July 11, 2018 00:48
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.

None yet

4 participants