java.lang.Object
com.renomad.minum.web.ContentDisposition
This class represents the information in the Content-Disposition
header of a multipart/form-data partition. Let's look at an example:
In this example, there are two partitions, and each has a Content-Disposition header. The first has a name of "text1" and the second has a name of "image_uploads". The second partition also has a filename.
This is useful for filtering partition data when an endpoint receives multipart data.
--i_am_a_boundary Content-Type: text/plain Content-Disposition: form-data; name="text1" I am a value that is text --i_am_a_boundary Content-Type: application/octet-stream Content-Disposition: form-data; name="image_uploads"; filename="photo_preview.jpg"
In this example, there are two partitions, and each has a Content-Disposition header. The first has a name of "text1" and the second has a name of "image_uploads". The second partition also has a filename.
This is useful for filtering partition data when an endpoint receives multipart data.
-
Constructor Summary
-
Method Summary