Class FileUploadResource

java.lang.Object
edu.wisc.game.rest.FileUploadResource

@Path("/FileUploadResource")
public class FileUploadResource
extends Object
Author:
geekmj Single File and Multiple Files upload example
  • Constructor Details

  • Method Details

    • uploadFile

      @Path("/file") @POST @Consumes("multipart/form-data") public jakarta.ws.rs.core.Response uploadFile​(@DefaultValue("") String tags, InputStream file, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDisposition)
    • uploadFiles

      @Path("/files2") @POST @Consumes("multipart/form-data") public jakarta.ws.rs.core.Response uploadFiles​(org.glassfish.jersey.media.multipart.FormDataMultiPart multiPart)