提交 cdbb19b0 authored 作者: Thomas Mueller's avatar Thomas Mueller

The Servlet API 3.0.1 is now used, instead of 2.4.

上级 cc7902e1
......@@ -24,14 +24,19 @@ import java.util.Locale;
import java.util.Map;
import java.util.Vector;
import javax.servlet.AsyncContext;
import javax.servlet.DispatcherType;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet.ServletInputStream;
import javax.servlet.ServletOutputStream;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javax.servlet.http.Part;
import javax.servlet.ServletContext;
import org.h2.api.ErrorCode;
......@@ -691,7 +696,7 @@ public class TestWeb extends TestBase {
}
@Override
public Map<String, String> getParameterMap() {
public Map<String, String[]> getParameterMap() {
return null;
}
......@@ -903,6 +908,68 @@ public class TestWeb extends TestBase {
return false;
}
@Override
public java.util.Collection<Part> getParts() {
return null;
}
@Override
public Part getPart(String name) {
return null;
}
@Override
public boolean authenticate(HttpServletResponse response) {
return false;
}
@Override
public void login(String username, String password) {
// ignore
}
@Override
public void logout() {
// ignore
}
@Override
public ServletContext getServletContext() {
return null;
}
@Override
public AsyncContext startAsync() {
return null;
}
@Override
public AsyncContext startAsync(
ServletRequest servletRequest,
ServletResponse servletResponse) {
return null;
}
@Override
public boolean isAsyncStarted() {
return false;
}
@Override
public boolean isAsyncSupported() {
return false;
}
@Override
public AsyncContext getAsyncContext() {
return null;
}
@Override
public DispatcherType getDispatcherType() {
return null;
}
}
/**
......@@ -1079,6 +1146,26 @@ public class TestWeb extends TestBase {
// ignore
}
@Override
public int getStatus() {
return 0;
}
@Override
public String getHeader(String name) {
return null;
}
@Override
public java.util.Collection<String> getHeaders(String name) {
return null;
}
@Override
public java.util.Collection<String> getHeaderNames() {
return null;
}
}
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论