camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark <>
Subject Jetty POST multipart parsing
Date Tue, 28 Nov 2017 18:05:52 GMT
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:

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?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message