>>>>> On Fri, 11 Sep 2015 20:49:51 +0100, Mark Thomas <markt_at_apache.org> said:
EB> Aside from the below mentioned changes to the sketch provided by Arjan,
EB> I have a question. Does it make sense to allow the caller to discover
EB> if the mapping was invoked via a Servlet vs. a Filter? If so, how about
EB> adding a method to Mapping boolean isServlet()?
MT> How would that work? If you call a method on the HttpServletRequest then
MT> the request will have been mapped to exactly one servlet and to 0 to
MT> many filters. How do you determine which mapping to return? Do you
MT> return them all?
Let's just leave that out, then.
Ed
--
| edward.burns_at_oracle.com | office: +1 407 458 0017
| 37 Business days til JavaOne 2015
| 52 Business days til DOAG 2015