|
3 | 3 | import org.junit.Before;
|
4 | 4 | import org.junit.Test;
|
5 | 5 |
|
| 6 | +import javax.servlet.AsyncContext; |
| 7 | +import javax.servlet.DispatcherType; |
6 | 8 | import javax.servlet.RequestDispatcher;
|
| 9 | +import javax.servlet.ServletContext; |
| 10 | +import javax.servlet.ServletException; |
7 | 11 | import javax.servlet.ServletInputStream;
|
| 12 | +import javax.servlet.ServletRequest; |
| 13 | +import javax.servlet.ServletResponse; |
8 | 14 | import javax.servlet.http.Cookie;
|
9 | 15 | import javax.servlet.http.HttpServletRequest;
|
| 16 | +import javax.servlet.http.HttpServletResponse; |
10 | 17 | import javax.servlet.http.HttpSession;
|
| 18 | +import javax.servlet.http.Part; |
11 | 19 | import java.io.BufferedReader;
|
12 | 20 | import java.io.IOException;
|
13 | 21 | import java.security.Principal;
|
| 22 | +import java.util.Collection; |
14 | 23 | import java.util.Enumeration;
|
15 | 24 | import java.util.HashMap;
|
16 | 25 | import java.util.Locale;
|
@@ -200,6 +209,26 @@ public boolean isRequestedSessionIdFromUrl() {
|
200 | 209 | throw new RuntimeException("Method not implemented");
|
201 | 210 | }
|
202 | 211 |
|
| 212 | + public boolean authenticate(HttpServletResponse httpServletResponse) throws IOException, ServletException { |
| 213 | + throw new RuntimeException("Method not implemented"); |
| 214 | + } |
| 215 | + |
| 216 | + public void login(String s, String s1) throws ServletException { |
| 217 | + throw new RuntimeException("Method not implemented"); |
| 218 | + } |
| 219 | + |
| 220 | + public void logout() throws ServletException { |
| 221 | + throw new RuntimeException("Method not implemented"); |
| 222 | + } |
| 223 | + |
| 224 | + public Collection<Part> getParts() throws IOException, ServletException { |
| 225 | + throw new RuntimeException("Method not implemented"); |
| 226 | + } |
| 227 | + |
| 228 | + public Part getPart(String s) throws IOException, ServletException { |
| 229 | + throw new RuntimeException("Method not implemented"); |
| 230 | + } |
| 231 | + |
203 | 232 | @Override
|
204 | 233 | public boolean isRequestedSessionIdValid() {
|
205 | 234 | throw new RuntimeException("Method not implemented");
|
@@ -255,6 +284,34 @@ public int getLocalPort() {
|
255 | 284 | throw new RuntimeException("Method not implemented");
|
256 | 285 | }
|
257 | 286 |
|
| 287 | + public ServletContext getServletContext() { |
| 288 | + throw new RuntimeException("Method not implemented"); |
| 289 | + } |
| 290 | + |
| 291 | + public AsyncContext startAsync() throws IllegalStateException { |
| 292 | + throw new RuntimeException("Method not implemented"); |
| 293 | + } |
| 294 | + |
| 295 | + public AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse) throws IllegalStateException { |
| 296 | + throw new RuntimeException("Method not implemented"); |
| 297 | + } |
| 298 | + |
| 299 | + public boolean isAsyncStarted() { |
| 300 | + throw new RuntimeException("Method not implemented"); |
| 301 | + } |
| 302 | + |
| 303 | + public boolean isAsyncSupported() { |
| 304 | + throw new RuntimeException("Method not implemented"); |
| 305 | + } |
| 306 | + |
| 307 | + public AsyncContext getAsyncContext() { |
| 308 | + throw new RuntimeException("Method not implemented"); |
| 309 | + } |
| 310 | + |
| 311 | + public DispatcherType getDispatcherType() { |
| 312 | + throw new RuntimeException("Method not implemented"); |
| 313 | + } |
| 314 | + |
258 | 315 | @Override
|
259 | 316 | public Locale getLocale() {
|
260 | 317 | throw new RuntimeException("Method not implemented");
|
|
0 commit comments