-
Notifications
You must be signed in to change notification settings - Fork 332
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
:polemico: Removing RequestInfo #440
Conversation
…odNotAllowedHandler
@@ -81,6 +82,15 @@ public void setParameter(String key, String... value) { | |||
logger.debug("Setting {} with {}", key, value); | |||
extraParameters.put(key, value); | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes servlets behaviour. Have you tested in Wildfly and another servlet container?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it doesn't.
the HSRequest method is getRequestURI
;)
maybe this is not the best name...
I love when we have a pull request that removes a lot of code. But the best of this pr it's merge some factories. Sounds like good for me. Less code keeps vraptor more simple and easily to maintain. |
+1. It was a nice change |
:polemico: Removing RequestInfo
RequestInfo
is also a VRaptor 3 inheritance that doesn't make sense for VRaptor 4.It's role was to implement proper scopes for the DI providers. Since CDI handles the scopes, this class is not that important anymore.
So I removed all direct references to
RequestInfo
and turned it intoNewRequest
event.