comparison src/org/eclipse/jetty/server/Connector.java @ 1006:58a9c4a42292

simplify Buffers code
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 23 Oct 2016 17:21:20 -0600
parents 0e96ce3db20a
children 945568ee77ac
comparison
equal deleted inserted replaced
1005:0e96ce3db20a 1006:58a9c4a42292
73 protected Connector(Server server,int port) { 73 protected Connector(Server server,int port) {
74 this.server = server; 74 this.server = server;
75 this.port = port; 75 this.port = port;
76 server.connectors.add(this); 76 server.connectors.add(this);
77 addBean(_buffers); 77 addBean(_buffers);
78 _buffers.setRequestBufferType(Type.DIRECT);
79 _buffers.setRequestHeaderType(Type.INDIRECT);
80 _buffers.setResponseBufferType(Type.DIRECT);
81 _buffers.setResponseHeaderType(Type.INDIRECT);
82 } 78 }
83 79
84 public final void setHost(String host) 80 public final void setHost(String host)
85 { 81 {
86 _host = host; 82 _host = host;