1
2
3
4
5
6
7
8
9
10
11
12
13
14 package org.eclipse.jetty.server;
15
16 import javax.servlet.ServletContext;
17 import javax.servlet.ServletRequest;
18 import javax.servlet.ServletResponse;
19
20
21 public interface AsyncContext
22 {
23 static final String ASYNC_REQUEST_URI = "javax.servlet.async.request_uri";
24 static final String ASYNC_CONTEXT_PATH = "javax.servlet.async.context_path";
25 static final String ASYNC_PATH_INFO = "javax.servlet.async.path_info";
26 static final String ASYNC_SERVLET_PATH = "javax.servlet.async.servlet_path";
27 static final String ASYNC_QUERY_STRING = "javax.servlet.async.query_string";
28
29 public ServletRequest getRequest();
30 public ServletResponse getResponse();
31 public boolean hasOriginalRequestAndResponse();
32 public void dispatch();
33 public void dispatch(String path);
34 public void dispatch(ServletContext context, String path);
35 public void complete();
36 public void start(Runnable run);
37 }
38
39