All Downloads are FREE. Search and download functionalities are using the official Maven repository.

example.resource.Multipart Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
package example.resource;

import example.model.User;
import java.io.InputStream;
import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
import org.glassfish.jersey.media.multipart.FormDataParam;

@Path("/multipart")
public interface Multipart {
  /**
   */
  @POST
  @Consumes("multipart/form-data")
  void postMultipart(@FormDataParam("appBundle") InputStream appBundleStream,
      @FormDataParam("appBundle") FormDataContentDisposition appBundleDisposition,
      @FormDataParam("configFile") InputStream configFileStream,
      @FormDataParam("configFile") FormDataContentDisposition configFileDisposition,
      @FormDataParam("consumed") User consumed, @FormDataParam("heyBool") boolean heyBool);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy