Remove unused code
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 5 Jan 2011 09:57:44 +0000 (09:57 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 5 Jan 2011 09:57:44 +0000 (09:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1055389 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/Response.java

index 9591f8f..f5ba643 100644 (file)
@@ -109,11 +109,6 @@ public final class Response {
      */
     protected boolean charsetSet = false;
 
-    /**
-     * Request error URI.
-     */
-    protected String errorURI = null;
-
     protected Request req;
 
     // ------------------------------------------------------------- Properties
@@ -245,22 +240,6 @@ public final class Response {
     }
 
 
-    /** 
-     * Set request URI that caused an error during
-     * request processing.
-     */
-    public void setErrorURI(String uri) {
-        errorURI = uri;
-    }
-
-
-    /** Get the request URI that caused the original error.
-     */
-    public String getErrorURI() {
-        return errorURI;
-    }
-
-
     // -------------------- Methods --------------------
     
     
@@ -569,7 +548,6 @@ public final class Response {
         message = null;
         commited = false;
         errorException = null;
-        errorURI = null;
         headers.clear();
 
         // update counters
@@ -579,8 +557,4 @@ public final class Response {
     public long getBytesWritten() {
         return bytesWritten;
     }
-
-    public void setBytesWritten(long bytesWritten) {
-        this.bytesWritten = bytesWritten;
-    }
 }