Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/Handler.java @ 1000:32d4b569567c
simplify handle()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 19 Oct 2016 04:22:51 -0600 |
parents | 3428c60d7cfc |
children |
comparison
equal
deleted
inserted
replaced
999:74b9daf2826c | 1000:32d4b569567c |
---|---|
19 package org.eclipse.jetty.server; | 19 package org.eclipse.jetty.server; |
20 | 20 |
21 import java.io.IOException; | 21 import java.io.IOException; |
22 | 22 |
23 import javax.servlet.ServletException; | 23 import javax.servlet.ServletException; |
24 import javax.servlet.http.HttpServletRequest; | |
25 import javax.servlet.http.HttpServletResponse; | 24 import javax.servlet.http.HttpServletResponse; |
26 | 25 |
27 import org.eclipse.jetty.server.handler.HandlerCollection; | 26 import org.eclipse.jetty.server.handler.HandlerCollection; |
28 import org.eclipse.jetty.server.handler.HandlerWrapper; | 27 import org.eclipse.jetty.server.handler.HandlerWrapper; |
29 import org.eclipse.jetty.util.component.Destroyable; | 28 import org.eclipse.jetty.util.component.Destroyable; |
58 * object or a wrapper of that request. The {@link AbstractHttpConnection#getCurrentConnection()} | 57 * object or a wrapper of that request. The {@link AbstractHttpConnection#getCurrentConnection()} |
59 * method can be used access the Response object if required. | 58 * method can be used access the Response object if required. |
60 * @throws IOException | 59 * @throws IOException |
61 * @throws ServletException | 60 * @throws ServletException |
62 */ | 61 */ |
63 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) | 62 public void handle(String target, Request request, HttpServletResponse response) |
64 throws IOException, ServletException; | 63 throws IOException, ServletException; |
65 | 64 |
66 public void setServer(Server server); | 65 public void setServer(Server server); |
67 public Server getServer(); | 66 public Server getServer(); |
68 | 67 |