diff src/org/eclipse/jetty/http/HttpBuffers.java @ 868:688b875e18ba

remove ThreadLocalBuffers
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 03 Oct 2016 19:29:34 -0600
parents 3428c60d7cfc
children
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/HttpBuffers.java	Sun Oct 02 21:06:18 2016 -0600
+++ b/src/org/eclipse/jetty/http/HttpBuffers.java	Mon Oct 03 19:29:34 2016 -0600
@@ -19,90 +19,86 @@
 package org.eclipse.jetty.http;
 
 import org.eclipse.jetty.io.Buffers;
-import org.eclipse.jetty.io.BuffersFactory;
-import org.eclipse.jetty.util.component.AbstractLifeCycle;
 
 /* ------------------------------------------------------------ */
 /** Abstract Buffer pool.
  */
 public interface HttpBuffers
 {
-    /**
-     * @return the requestBufferSize
-     */
-    public int getRequestBufferSize();
-    
-    /**
-     * @param requestBufferSize the requestBufferSize to set
-     */
-    public void setRequestBufferSize(int requestBufferSize);
+	/**
+	 * @return the requestBufferSize
+	 */
+	public int getRequestBufferSize();
+	
+	/**
+	 * @param requestBufferSize the requestBufferSize to set
+	 */
+	public void setRequestBufferSize(int requestBufferSize);
 
-    /**
-     * @return the requestHeaderSize
-     */
-    public int getRequestHeaderSize();
-
-    /**
-     * @param requestHeaderSize the requestHeaderSize to set
-     */
-    public void setRequestHeaderSize(int requestHeaderSize);
+	/**
+	 * @return the requestHeaderSize
+	 */
+	public int getRequestHeaderSize();
 
-    /**
-     * @return the responseBufferSize
-     */
-    public int getResponseBufferSize();
+	/**
+	 * @param requestHeaderSize the requestHeaderSize to set
+	 */
+	public void setRequestHeaderSize(int requestHeaderSize);
 
-    /**
-     * @param responseBufferSize the responseBufferSize to set
-     */
-    public void setResponseBufferSize(int responseBufferSize);
+	/**
+	 * @return the responseBufferSize
+	 */
+	public int getResponseBufferSize();
 
-    /**
-     * @return the responseHeaderSize
-     */
-    public int getResponseHeaderSize();
+	/**
+	 * @param responseBufferSize the responseBufferSize to set
+	 */
+	public void setResponseBufferSize(int responseBufferSize);
 
-    /**
-     * @param responseHeaderSize the responseHeaderSize to set
-     */
-    public void setResponseHeaderSize(int responseHeaderSize);
+	/**
+	 * @return the responseHeaderSize
+	 */
+	public int getResponseHeaderSize();
 
-    /**
-     * @return the requestBufferType
-     */
-    public Buffers.Type getRequestBufferType();
+	/**
+	 * @param responseHeaderSize the responseHeaderSize to set
+	 */
+	public void setResponseHeaderSize(int responseHeaderSize);
 
-    /**
-     * @return the requestHeaderType
-     */
-    public Buffers.Type getRequestHeaderType();
+	/**
+	 * @return the requestBufferType
+	 */
+	public Buffers.Type getRequestBufferType();
 
-    /**
-     * @return the responseBufferType
-     */
-    public Buffers.Type getResponseBufferType();
+	/**
+	 * @return the requestHeaderType
+	 */
+	public Buffers.Type getRequestHeaderType();
 
-    /**
-     * @return the responseHeaderType
-     */
-    public Buffers.Type getResponseHeaderType();
+	/**
+	 * @return the responseBufferType
+	 */
+	public Buffers.Type getResponseBufferType();
 
-    /**
-     * @param requestBuffers the requestBuffers to set
-     */
-    public void setRequestBuffers(Buffers requestBuffers);
+	/**
+	 * @return the responseHeaderType
+	 */
+	public Buffers.Type getResponseHeaderType();
 
-    /**
-     * @param responseBuffers the responseBuffers to set
-     */
-    public void setResponseBuffers(Buffers responseBuffers);
+	/**
+	 * @param requestBuffers the requestBuffers to set
+	 */
+	public void setRequestBuffers(Buffers requestBuffers);
 
-    public Buffers getRequestBuffers();
-
-    public Buffers getResponseBuffers();
+	/**
+	 * @param responseBuffers the responseBuffers to set
+	 */
+	public void setResponseBuffers(Buffers responseBuffers);
 
-    public void setMaxBuffers(int maxBuffers);
+	public Buffers getRequestBuffers();
+
+	public Buffers getResponseBuffers();
 
-    public int getMaxBuffers();
-    
+	public int getMaxBuffers();
+	
 }