You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Mark <el...@gmail.com> on 2017/11/28 18:05:52 UTC
Jetty POST multipart parsing
I have a REST DSL route where I will be receiving binary files via HTTP
POST. The data comes in to the Camel route, but the body contains the
Boundary data, and content data like this:
------WebKitFormBoundarynB8xvLY3l8fNLpcG
Content-Disposition: form-data; name="filename"; filename="attachment"
Content-Type: application/stuff
[The actual file data]
How can I get at just the data and not the header information? Do I need
to bring in another library like commons-fileupload or is there something
already in camel-jetty that can help me?