Class MultipartSupportIT

java.lang.Object
ee.jakarta.tck.ws.rs.jaxrs31.ee.multipart.MultipartSupportIT

@ExtendWith(org.jboss.arquillian.junit5.ArquillianExtension.class) @RunAsClient public class MultipartSupportIT extends Object
Author:
James R. Perkins, Jim Krueger
  • Constructor Details

    • MultipartSupportIT

      public MultipartSupportIT()
  • Method Details

    • deployment

      @Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive deployment()
    • basicTest

      @Test public void basicTest() throws Exception
      Verify sending a List of EntityPart and receiving a List sent back from the resource method containing the same parts plus an additional part added by thye resource method containing extra headers.
      Throws:
      Exception - if an error occurs in the test
    • multiFormParamTest

      @Test public void multiFormParamTest() throws Exception
      Verify sending a List containing three EntityPart, each injected as a different type.

      The returned result will be multipart/form-data content with a new name and the content for each injected field.

      Throws:
      Exception - if an error occurs in the test