seguin 01/06/25 08:53:28
Modified: util/java/org/apache/tomcat/util/http BaseRequest.java
Log:
removed jvmRoute -- this is jk/ajp specific.
Revision Changes Path
1.2 +4 -14
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/BaseRequest.java
Index: BaseRequest.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/BaseRequest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- BaseRequest.java 2001/06/25 13:33:38 1.1
+++ BaseRequest.java 2001/06/25 15:53:27 1.2
@@ -58,7 +58,7 @@
/***************************************************************************
* Description: Base http request object. *
* Author: Keving Seguin [[EMAIL PROTECTED]] *
- * Version: $Revision: 1.1 $ *
+ * Version: $Revision: 1.2 $ *
***************************************************************************/
package org.apache.tomcat.util.http;
@@ -72,7 +72,8 @@
import org.apache.tomcat.util.buf.MessageBytes;
/**
- *
+ * A general-purpose object for representing an HTTP
+ * request.
*/
public class BaseRequest {
@@ -91,7 +92,6 @@
MessageBytes remoteUser = new MessageBytes();
MessageBytes authType = new MessageBytes();
MessageBytes queryString = new MessageBytes();
- MessageBytes jvmRoute = new MessageBytes();
String scheme = SCHEME_HTTP;
boolean secure = false;
int contentLength = 0;
@@ -114,7 +114,6 @@
remoteUser.recycle();
authType.recycle();
queryString.recycle();
- jvmRoute.recycle();
scheme = SCHEME_HTTP;
secure = false;
contentLength = 0;
@@ -213,14 +212,6 @@
}
/**
- * Get the jvm route
- * @return the jvm route
- */
- public MessageBytes jvmRoute() {
- return jvmRoute;
- }
-
- /**
* Get the scheme
* @return the scheme
*/
@@ -332,7 +323,7 @@
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
- pw.println("=== AjpRequest ===");
+ pw.println("=== BaseRequest ===");
pw.println("method = " + method.toString());
pw.println("protocol = " + protocol.toString());
pw.println("requestURI = " + requestURI.toString());
@@ -343,7 +334,6 @@
pw.println("remoteUser = " + remoteUser.toString());
pw.println("authType = " + authType.toString());
pw.println("queryString = " + queryString.toString());
- pw.println("jvmRoute = " + jvmRoute.toString());
pw.println("scheme = " + scheme.toString());
pw.println("secure = " + secure);
pw.println("contentLength = " + contentLength);