Status: New
Owner: ----

New issue 807 by [email protected]: FilterDefinition should wrap the servlet request like ServletDefinition
http://code.google.com/p/google-guice/issues/detail?id=807

Perhaps that design suggestion is incorrect.

Here is the scenario:

filter("/dir/*).through(MyFilter.class);
serve("/dir/*).with(MyServlet.class);

MyFilter.doFilter(request, response) {
  request.getServletPath() == "/dir/com/google/whatever.java"
  request.getPathInfo() == null
}

MyServlet.doGet(request, response) {
  request.getServletPath() == "/dir"
  request.getPathInfo() == "/com/google/whatever.java"
}

The filter does not get the same wrapped request that the servlet gets which makes it difficult for me to correctly process request info. Can the filter also receive a Request that is wrapped correctly like the servlet appears to receive?

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to