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 class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Verify sending a List ofEntityPart
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.static org.jboss.shrinkwrap.api.spec.WebArchive
void
Verify sending aList
containing 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 ofEntityPart
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
Verify sending aList
containing threeEntityPart
, 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
-