fixed removal of deprecated methods
This commit is contained in:
parent
da5f09f1ce
commit
5993364288
|
@ -30,8 +30,6 @@ import org.eclipse.jetty.util.annotation.Name;
|
|||
public class HttpConnectionFactory extends AbstractConnectionFactory implements HttpConfiguration.ConnectionFactory
|
||||
{
|
||||
private final HttpConfiguration _config;
|
||||
private boolean _useInputDirectByteBuffers;
|
||||
private boolean _useOutputDirectByteBuffers;
|
||||
|
||||
public HttpConnectionFactory()
|
||||
{
|
||||
|
|
|
@ -109,7 +109,6 @@ public class ComplianceViolations2616Test
|
|||
config.addComplianceViolationListener(new ComplianceViolation.CapturingListener());
|
||||
|
||||
HttpConnectionFactory httpConnectionFactory = new HttpConnectionFactory(config);
|
||||
httpConnectionFactory.setRecordHttpComplianceViolations(true);
|
||||
connector = new LocalConnector(server, null, null, null, -1, httpConnectionFactory);
|
||||
|
||||
ServletContextHandler context = new ServletContextHandler();
|
||||
|
|
|
@ -109,7 +109,6 @@ public class ComplianceViolations2616Test
|
|||
config.addComplianceViolationListener(new ComplianceViolation.CapturingListener());
|
||||
|
||||
HttpConnectionFactory httpConnectionFactory = new HttpConnectionFactory(config);
|
||||
httpConnectionFactory.setRecordHttpComplianceViolations(true);
|
||||
connector = new LocalConnector(server, null, null, null, -1, httpConnectionFactory);
|
||||
|
||||
ServletContextHandler context = new ServletContextHandler();
|
||||
|
|
|
@ -130,7 +130,6 @@ public class RequestTest
|
|||
_server = new Server();
|
||||
_context = new ContextHandler(_server);
|
||||
HttpConnectionFactory http = new HttpConnectionFactory();
|
||||
http.setRecordHttpComplianceViolations(true);
|
||||
http.setInputBufferSize(1024);
|
||||
http.getHttpConfiguration().setRequestHeaderSize(512);
|
||||
http.getHttpConfiguration().setResponseHeaderSize(512);
|
||||
|
|
Loading…
Reference in New Issue