Package edu.wisc.game.rest

## 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 Summary

    Constructors
    Constructor | Description
    --- | ---
    `FileUploadResource()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `jakarta.ws.rs.core.Response` | `uploadFile​(String tags, InputStream file, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDisposition)` |
    `jakarta.ws.rs.core.Response` | `uploadFiles​(org.glassfish.jersey.media.multipart.FormDataMultiPart multiPart)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FileUploadResource

          public FileUploadResource()

  - ### Method Detail

    - #### 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)