Gili wrote:
> Is there a MediaType constant for multipart/mixed or do I have to provide the
> String manually?
Unfortunately not in the JAX-RS APIs ... but you can easily create your
own. But, you don't actually have to with jersey-multipart since that
is in fact the default media type.
public static final MediaType MULTIPART_MIXED_TYPE =
new MediaType("multipart", "mixed");
> Compile-time safety is good :)
>
+1.
> Gili
>
Craig