@QueryParam("connectionId") final String connectionId, @Context final HttpServletRequest request) {
String response = new ResponseTemplate().execute(logger, connectionId, request, new ResponseCallback() {
public Object execute() throws Exception {
GridFSService gridFSService = new GridFSServiceImpl(connectionId);
return gridFSService.insertFile(dbName, bucketName, connectionId, inputStream, formData);
}
}, false);
return response;
}