这是我的 java rest api 代码
@POST
@Path("{imageTitle}/uploadPic")
@Produces("text/plain")
public Response uploadPic(Reader PicFile,
@PathParam("imageTitle") String imageTitle) {
String uploadPath = "/home/dev/";
//What is next..????
}
如何使用阅读器输入创建文件?