Multipart requests/responses java

后端 未结 1 708
慢半拍i
慢半拍i 2020-12-11 21:03

I have a task to implement sending of http multipart request and interpreting http multipart response. I decided to start from the response as I just have to receive a respo

相关标签:
1条回答
  • 2020-12-11 21:37

    I would recommend turning to Apache Commons:

    • FileUpload handles the server-side, and parses multi-part posts.
    • HttpClient for the client-side, for constructing those posts.

    But before you do any of that, I think you need to talk with whoever has set you on this task, to be sure that you understand exactly what he/she wants. Because multi-part for mail processing is close but not quite the same as multipart for file uploads.

    0 讨论(0)
提交回复
热议问题