@Path("/fileStorage")
@Produces("application/json")
@Consumes("multipart/form-data")
public interface FileStorageService
-
Method Summary
| Modifier and Type |
Method |
Description |
FileModel |
save(java.io.InputStream is,
@Pattern(regexp="^[\\w@()-][\\w@()-.]*[\\w@()-]+$",message="Invalid file name") java.lang.String fileName) |
|
-
Method Details
-
@POST
@Path("/save")
FileModel save(
java.io.InputStream is,
@QueryParam("fileName") @Pattern(regexp="^[\\w@()-][\\w@()-.]*[\\w@()-]+$",message="Invalid file name")
@Pattern(regexp="^[\\w@()-][\\w@()-.]*[\\w@()-]+$",message="Invalid file name") java.lang.String fileName)