Question: Is it possible to get the raw HTTP Request from the HttpServletRequest object? I want to see the raw request as a String if at all possible.

I need to get the full text of the request, in this case it's a POST request, so the URL doesn't help. It's also part of a multi-part form, so I can't just call the "getParameterNames()" or "getParameterValues()".

Thank you,

Answer: 
or if you can write some interceptor to convert the parameter names and values to string format object and set it in request context, or filter is a good idea too.
If you want to get the whole request to a String you can do it with one line of code using the apache IOUtils library.

```
String myString = org.apache.commons.io.IOUtils.toString(request.getInputStream());

```