I need to convert HttpServletRequest to raw http request string like:
GET /index.html HTTP/1.1
Host: www.example.com
I know I could concat headers and body, but is there a simpler way to do this?
I need to convert HttpServletRequest to raw http request string like:
GET /index.html HTTP/1.1
Host: www.example.com
I know I could concat headers and body, but is there a simpler way to do this?