MCPcopy Create free account
hub / github.com/apache/tomcat / service

Method service

webapps/examples/WEB-INF/classes/async/Async3.java:31–36  ·  view source on GitHub ↗
(HttpServletRequest req, HttpServletResponse resp)

Source from the content-addressed store, hash-verified

29 private static final long serialVersionUID = 1L;
30
31 @Override
32 protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
33 final AsyncContext actx = req.startAsync();
34 actx.setTimeout(30*1000);
35 actx.dispatch("/jsp/async/async3.jsp");
36 }
37
38
39}

Callers

nothing calls this directly

Calls 3

setTimeoutMethod · 0.95
dispatchMethod · 0.95
startAsyncMethod · 0.65

Tested by

no test coverage detected