import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
+import javax.servlet.http.HttpUpgradeHandler;
import javax.servlet.http.Part;
import java.io.BufferedReader;
import java.io.IOException;
}
@SuppressWarnings( "unchecked" )
- private class HttpServletRequestMock
+ private static class HttpServletRequestMock
implements HttpServletRequest
{
throw new UnsupportedOperationException( "Not supported yet." );
}
+ @Override
+ public String changeSessionId() {
+ return null;
+ }
+
+ @Override
+ public <T extends HttpUpgradeHandler> T upgrade(Class<T> handlerClass) throws IOException, ServletException {
+ return null;
+ }
+
+ @Override
+ public long getContentLengthLong() {
+ return 0;
+ }
+
@Override
public void login( String s, String s1 )
throws ServletException