rmannibucau commented on pull request #399:
URL: https://github.com/apache/tomcat/pull/399#issuecomment-752093847


   Guess a sane EE way to solve that is to propose to servlet spec to add an 
unwrap(Class<T> type) method in most of its objects (or Unwrappable instance).
   It would solve a lot of issues with such pattern - being said the 
getRequest() does not really work in all cases in your example - and enables to 
traverse proxies/wrappers.
   Wdyt?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to