Browse Source

update: 恢复误删的override注解

pull/1/head
zjz1993 5 years ago
parent
commit
10469a0696
  1. 7
      src/main/java/com/fr/plugin/file/submit/oss/fun/OssDownloadHttpHandler.java

7
src/main/java/com/fr/plugin/file/submit/oss/fun/OssDownloadHttpHandler.java

@ -18,21 +18,22 @@ import java.util.Date;
public class OssDownloadHttpHandler extends BaseHttpHandler { public class OssDownloadHttpHandler extends BaseHttpHandler {
@Override
public RequestMethod getMethod() { public RequestMethod getMethod() {
return RequestMethod.POST; return RequestMethod.POST;
} }
@Override
public String getPath() { public String getPath() {
return "/oss/download"; return "/oss/download";
} }
@Override
public boolean isPublic() { public boolean isPublic() {
return true; return true;
} }
@Override
public void handle(HttpServletRequest req, HttpServletResponse res) throws Exception { public void handle(HttpServletRequest req, HttpServletResponse res) throws Exception {
String bucket = NetworkKit.getHTTPRequestParameter(req, "bucket"); String bucket = NetworkKit.getHTTPRequestParameter(req, "bucket");
String directory = NetworkKit.getHTTPRequestParameter(req, "directory"); String directory = NetworkKit.getHTTPRequestParameter(req, "directory");

Loading…
Cancel
Save