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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidVerify sending a List ofEntityPartand 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.static org.jboss.shrinkwrap.api.spec.WebArchivevoidVerify sending aListcontaining threeEntityPart, each injected as a different type.
-
Constructor Details
-
MultipartSupportIT
public MultipartSupportIT()
-
-
Method Details
-
deployment
@Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive deployment() -
basicTest
Verify sending a List ofEntityPartand 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
Verify sending aListcontaining threeEntityPart, each injected as a different type.The returned result will be
multipart/form-datacontent with a new name and the content for each injected field.- Throws:
Exception- if an error occurs in the test
-