Mercurial Hosting > luan
comparison src/org/eclipse/jetty/server/Server.java @ 997:7d28be82ab75
simplify Request
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 18 Oct 2016 22:43:17 -0600 |
parents | d9cfec64899c |
children | 32d4b569567c |
comparison
equal
deleted
inserted
replaced
996:d9cfec64899c | 997:7d28be82ab75 |
---|---|
140 * or after the entire request has been received (for short requests of known length), or | 140 * or after the entire request has been received (for short requests of known length), or |
141 * on the dispatch of an async request. | 141 * on the dispatch of an async request. |
142 */ | 142 */ |
143 public void handle(AbstractHttpConnection connection) throws IOException, ServletException | 143 public void handle(AbstractHttpConnection connection) throws IOException, ServletException |
144 { | 144 { |
145 final String target=connection.getRequest().getPathInfo(); | 145 final String target = connection.getRequest().getPathInfo(); |
146 final Request request=connection.getRequest(); | 146 final Request request = connection.getRequest(); |
147 final Response response=connection.getResponse(); | 147 final Response response = connection.getResponse(); |
148 | 148 |
149 if (LOG.isDebugEnabled()) | 149 if (LOG.isDebugEnabled()) |
150 { | 150 { |
151 LOG.debug("REQUEST "+target+" on "+connection); | 151 LOG.debug("REQUEST "+target+" on "+connection); |
152 handle(target, request, request, response); | 152 handle(target, request, request, response); |