Class MultipartFormDataFormatter

  • All Implemented Interfaces:
    MessageFormatter

    public class MultipartFormDataFormatter
    extends Object
    implements MessageFormatter
    Formates the request message as multipart/form-data. An example of this serialization is shown below which was extracted from the Web Services Description Language (WSDL) Version 2.0 Part 2: Adjuncts

    The following instance data of an input message:

    Fréjus France @@@@-@@-@@

    with the following operation element

    will serialize the message as follow:

    Content-Type: multipart/form-data; boundary=AaB03x Content-Length: xxx

    --AaB03x Content-Disposition: form-data; name="town" Content-Type: application/xml

    Fréjus France --AaB03x Content-Disposition: form-data; name="date" Content-Type: text/plain; charset=utf-8