1

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?

user1633272
  • 1,797
  • 5
  • 21
  • 42

0 Answers0