tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1652042 - in /tomcat/trunk/java/org/apache/coyote/http11: AbstractHttp11Processor.java AbstractInputBuffer.java Http11AprProcessor.java Http11InputBuffer.java Http11Nio2Processor.java Http11NioProcessor.java
Date Thu, 15 Jan 2015 10:49:25 GMT
Author: markt
Date: Thu Jan 15 10:49:25 2015
New Revision: 1652042

URL: http://svn.apache.org/r1652042
Log:
Rename

Added:
    tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java
      - copied, changed from r1652041, tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java
Removed:
    tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java
Modified:
    tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java
    tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java
    tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Processor.java
    tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java

Modified: tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java?rev=1652042&r1=1652041&r2=1652042&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/AbstractHttp11Processor.java Thu Jan 15 10:49:25
2015
@@ -72,7 +72,7 @@ public abstract class AbstractHttp11Proc
     /**
      * Input.
      */
-    protected AbstractInputBuffer inputBuffer;
+    protected Http11InputBuffer inputBuffer;
 
 
     /**
@@ -615,7 +615,7 @@ public abstract class AbstractHttp11Proc
      * Exposes input buffer to super class to allow better code re-use.
      * @return  The input buffer used by the processor.
      */
-    protected AbstractInputBuffer getInputBuffer() {
+    protected Http11InputBuffer getInputBuffer() {
         return inputBuffer;
     }
 
@@ -774,7 +774,7 @@ public abstract class AbstractHttp11Proc
             InputFilter savedBody = new SavedRequestInputFilter(body);
             savedBody.setRequest(request);
 
-            AbstractInputBuffer internalBuffer = (AbstractInputBuffer) request.getInputBuffer();
+            Http11InputBuffer internalBuffer = (Http11InputBuffer) request.getInputBuffer();
             internalBuffer.addActiveFilter(savedBody);
             break;
         }

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java?rev=1652042&r1=1652041&r2=1652042&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11AprProcessor.java Thu Jan 15 10:49:25
2015
@@ -58,7 +58,7 @@ public class Http11AprProcessor extends
 
         super(endpoint);
 
-        inputBuffer = new AbstractInputBuffer(request, headerBufferSize);
+        inputBuffer = new Http11InputBuffer(request, headerBufferSize);
         request.setInputBuffer(getInputBuffer());
 
         outputBuffer = new Http11OutputBuffer(response, headerBufferSize);

Copied: tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java (from r1652041,
tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java)
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java?p2=tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java&p1=tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java&r1=1652041&r2=1652042&rev=1652042&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/AbstractInputBuffer.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11InputBuffer.java Thu Jan 15 10:49:25
2015
@@ -37,16 +37,16 @@ import org.apache.tomcat.util.res.String
  *
  * <S>  The type of socket used by the underlying I/O implementation
  */
-public class AbstractInputBuffer implements InputBuffer {
+public class Http11InputBuffer implements InputBuffer {
 
     // -------------------------------------------------------------- Constants
 
-    private static final Log log = LogFactory.getLog(AbstractInputBuffer.class);
+    private static final Log log = LogFactory.getLog(Http11InputBuffer.class);
 
     /**
      * The string manager for this package.
      */
-    protected static final StringManager sm = StringManager.getManager(AbstractInputBuffer.class);
+    protected static final StringManager sm = StringManager.getManager(Http11InputBuffer.class);
 
 
     protected static final boolean[] HTTP_TOKEN_CHAR = new boolean[128];
@@ -207,7 +207,7 @@ public class AbstractInputBuffer impleme
 
     // ----------------------------------------------------------- Constructors
 
-    public AbstractInputBuffer(Request request, int headerBufferSize) {
+    public Http11InputBuffer(Request request, int headerBufferSize) {
 
         this.request = request;
         headers = request.getMimeHeaders();

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Processor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Processor.java?rev=1652042&r1=1652041&r2=1652042&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Processor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11Nio2Processor.java Thu Jan 15 10:49:25
2015
@@ -62,7 +62,7 @@ public class Http11Nio2Processor extends
 
         super(endpoint);
 
-        inputBuffer = new AbstractInputBuffer(request, maxHttpHeaderSize);
+        inputBuffer = new Http11InputBuffer(request, maxHttpHeaderSize);
         request.setInputBuffer(getInputBuffer());
 
         outputBuffer = new Http11OutputBuffer(response, maxHttpHeaderSize);

Modified: tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java?rev=1652042&r1=1652041&r2=1652042&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java (original)
+++ tomcat/trunk/java/org/apache/coyote/http11/Http11NioProcessor.java Thu Jan 15 10:49:25
2015
@@ -63,7 +63,7 @@ public class Http11NioProcessor extends
 
         super(endpoint);
 
-        inputBuffer = new AbstractInputBuffer(request, maxHttpHeaderSize);
+        inputBuffer = new Http11InputBuffer(request, maxHttpHeaderSize);
         request.setInputBuffer(getInputBuffer());
 
         outputBuffer = new Http11OutputBuffer(response, maxHttpHeaderSize);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message