Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/Connector.java @ 1005:0e96ce3db20a
remove HttpBuffers
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 23 Oct 2016 02:42:05 -0600 |
parents | 39154cfa58e4 |
children | 58a9c4a42292 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Connector.java Sat Oct 22 23:00:57 2016 -0600 +++ b/src/org/eclipse/jetty/server/Connector.java Sun Oct 23 02:42:05 2016 -0600 @@ -28,7 +28,6 @@ import javax.servlet.ServletRequest; -import org.eclipse.jetty.http.HttpBuffers; import org.eclipse.jetty.http.HttpBuffersImpl; import org.eclipse.jetty.http.HttpFields; import org.eclipse.jetty.http.HttpHeaders; @@ -53,7 +52,7 @@ * <li>Optional reverse proxy headers checking</li> * </ul> */ -public abstract class Connector extends AggregateLifeCycle implements HttpBuffers, Dumpable, Runnable +public abstract class Connector extends AggregateLifeCycle implements Dumpable, Runnable { private static final Logger LOG = LoggerFactory.getLogger(Connector.class); @@ -184,108 +183,6 @@ protected abstract void accept() throws IOException, InterruptedException; @Override - public final int getRequestBufferSize() - { - return _buffers.getRequestBufferSize(); - } - - @Override - public final void setRequestBufferSize(int requestBufferSize) - { - _buffers.setRequestBufferSize(requestBufferSize); - } - - @Override - public final int getRequestHeaderSize() - { - return _buffers.getRequestHeaderSize(); - } - - @Override - public final void setRequestHeaderSize(int requestHeaderSize) - { - _buffers.setRequestHeaderSize(requestHeaderSize); - } - - @Override - public final int getResponseBufferSize() - { - return _buffers.getResponseBufferSize(); - } - - @Override - public final void setResponseBufferSize(int responseBufferSize) - { - _buffers.setResponseBufferSize(responseBufferSize); - } - - @Override - public final int getResponseHeaderSize() - { - return _buffers.getResponseHeaderSize(); - } - - @Override - public final void setResponseHeaderSize(int responseHeaderSize) - { - _buffers.setResponseHeaderSize(responseHeaderSize); - } - - @Override - public final Type getRequestBufferType() - { - return _buffers.getRequestBufferType(); - } - - @Override - public final Type getRequestHeaderType() - { - return _buffers.getRequestHeaderType(); - } - - @Override - public final Type getResponseBufferType() - { - return _buffers.getResponseBufferType(); - } - - @Override - public final Type getResponseHeaderType() - { - return _buffers.getResponseHeaderType(); - } - - @Override - public final void setRequestBuffers(Buffers requestBuffers) - { - _buffers.setRequestBuffers(requestBuffers); - } - - @Override - public final void setResponseBuffers(Buffers responseBuffers) - { - _buffers.setResponseBuffers(responseBuffers); - } - - @Override - public final Buffers getRequestBuffers() - { - return _buffers.getRequestBuffers(); - } - - @Override - public final Buffers getResponseBuffers() - { - return _buffers.getResponseBuffers(); - } - - @Override - public final int getMaxBuffers() - { - return _buffers.getMaxBuffers(); - } - - @Override public String toString() { return String.format("%s@%s:%d", @@ -347,7 +244,7 @@ public final boolean getUseDirectBuffers() { - return getRequestBufferType()==Type.DIRECT; + return _buffers.getRequestBufferType()==Type.DIRECT; } /* ------------------------------------------------------------------------------- */