comparison src/org/eclipse/jetty/server/BlockingHttpConnection.java @ 972:5ee36654b383

simplify AbstractHttpConnection
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 15 Oct 2016 22:42:05 -0600
parents 866f2e801618
children 4d9fe9cc554d
comparison
equal deleted inserted replaced
971:f997df37cec1 972:5ee36654b383
22 22
23 import org.eclipse.jetty.http.Generator; 23 import org.eclipse.jetty.http.Generator;
24 import org.eclipse.jetty.http.HttpException; 24 import org.eclipse.jetty.http.HttpException;
25 import org.eclipse.jetty.http.HttpStatus; 25 import org.eclipse.jetty.http.HttpStatus;
26 import org.eclipse.jetty.http.Parser; 26 import org.eclipse.jetty.http.Parser;
27 import org.eclipse.jetty.io.Connection;
28 import org.eclipse.jetty.io.EndPoint; 27 import org.eclipse.jetty.io.EndPoint;
28 import org.eclipse.jetty.server.nio.BlockingChannelConnector;
29 import org.slf4j.Logger; 29 import org.slf4j.Logger;
30 import org.slf4j.LoggerFactory; 30 import org.slf4j.LoggerFactory;
31 31
32 32
33 /* ------------------------------------------------------------ */ 33 /* ------------------------------------------------------------ */
34 /** Blocking Server HTTP Connection 34 /** Blocking Server HTTP Connection
35 */ 35 */
36 public class BlockingHttpConnection extends AbstractHttpConnection 36 public final class BlockingHttpConnection extends AbstractHttpConnection
37 { 37 {
38 private static final Logger LOG = LoggerFactory.getLogger(BlockingHttpConnection.class); 38 private static final Logger LOG = LoggerFactory.getLogger(BlockingHttpConnection.class);
39 39
40 public BlockingHttpConnection(Connector connector, EndPoint endpoint, Server server) 40 public BlockingHttpConnection(BlockingChannelConnector connector, EndPoint endpoint)
41 { 41 {
42 super(connector,endpoint,server); 42 super(connector,endpoint);
43 }
44
45 public BlockingHttpConnection(Connector connector, EndPoint endpoint, Server server, Parser parser, Generator generator, Request request)
46 {
47 super(connector,endpoint,server,parser,generator,request);
48 }
49
50 @Override
51 protected void handleRequest() throws IOException
52 {
53 super.handleRequest();
54 } 43 }
55 44
56 @Override 45 @Override
57 public void handle() throws IOException 46 public void handle() throws IOException
58 { 47 {