Java – Seeing the http request in wicket

javawebwicket

I'm using Apache Wicket and I want to see the http request itself (Exact text of the request without any processing!). What should I do?

Thanks

Best Answer

For Wicket 1.5 you can get the underlying request object and cast it to HttpServletRequest:

HttpServletRequest request = ((HttpServletRequest) getRequest().getContainerRequest());