//if (!context.isContentTypeAccepted(meta.getContentType())) {
// throw new UploadUnsupportedFileTypeException(meta);
//}
//开始读取数据
File tmp = tmps.createFile(meta.getFileExtension());
OutputStream ops = null;
try {
ops = new BufferedOutputStream( new FileOutputStream(tmp),bufferSize * 2);
Streams.writeAndClose(ops, req.getInputStream());