dims 00/12/02 07:20:39
Modified: src/org/apache/cocoon/environment/commandline Tag:
xml-cocoon2 CommandLineRequest.java
CommandLineResponse.java
src/org/apache/cocoon/environment/http Tag: xml-cocoon2
HttpRequest.java HttpResponse.java
Added: lib Tag: xml-cocoon2 servlet_2_2.jar
Removed: lib Tag: xml-cocoon2 servlet_2_3.jar
Log:
Rollback to Servlet 2.2
Revision Changes Path
No revision
No revision
1.1.2.3 +0 -0 xml-cocoon/lib/servlet_2_2.jar
<<Binary file>>
No revision
No revision
1.1.2.4 +1 -6
xml-cocoon/src/org/apache/cocoon/environment/commandline/Attic/CommandLineRequest.java
Index: CommandLineRequest.java
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/environment/commandline/Attic/CommandLineRequest.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -r1.1.2.3 -r1.1.2.4
--- CommandLineRequest.java 2000/12/02 00:25:05 1.1.2.3
+++ CommandLineRequest.java 2000/12/02 15:20:38 1.1.2.4
@@ -29,7 +29,7 @@
* Creates a specific servlet request simulation from command line usage.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a>
- * @version CVS $Revision: 1.1.2.3 $ $Date: 2000/12/02 00:25:05 $
+ * @version CVS $Revision: 1.1.2.4 $ $Date: 2000/12/02 15:20:38 $
*/
/*
@@ -57,7 +57,6 @@
private Map attributes;
private Map parameters;
private Map headers;
- private String characterEncoding = null;
public CommandLineRequest(String contextPath, String servletPath, String
pathInfo) {
this(contextPath, servletPath, pathInfo, null, null, null);
@@ -135,7 +134,7 @@
public BufferedReader getReader() throws IOException { return null; }
public ServletInputStream getInputStream() throws IOException { return
null; }
- public String getCharacterEncoding() { return characterEncoding; }
+ public String getCharacterEncoding() { return null; }
public int getContentLength() { return -1; }
public String getContentType() { return null; }
@@ -171,8 +170,4 @@
public String getRealPath(String path) { return null; }
/** @deprecated */
public boolean isRequestedSessionIdFromUrl() { return false; }
- public java.util.Map getParameterMap() { return parameters; }
- public void setCharacterEncoding(java.lang.String env)
- throws java.io.UnsupportedEncodingException {
characterEncoding = env; }
- public java.lang.StringBuffer getRequestURL() { return null; }
}
1.1.2.3 +0 -2
xml-cocoon/src/org/apache/cocoon/environment/commandline/Attic/CommandLineResponse.java
Index: CommandLineResponse.java
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/environment/commandline/Attic/CommandLineResponse.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- CommandLineResponse.java 2000/12/02 00:25:05 1.1.2.2
+++ CommandLineResponse.java 2000/12/02 15:20:38 1.1.2.3
@@ -22,7 +22,7 @@
* Creates a specific servlet response simulation from command line usage.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Stefano Mazzocchi</a>
- * @version CVS $Revision: 1.1.2.2 $ $Date: 2000/12/02 00:25:05 $
+ * @version CVS $Revision: 1.1.2.3 $ $Date: 2000/12/02 15:20:38 $
*/
public class CommandLineResponse implements HttpServletResponse {
@@ -65,6 +65,4 @@
public String encodeUrl(String url) { return url; }
/** @deprecated */
public String encodeRedirectUrl(String url) { return url; }
- public java.lang.StringBuffer getRequestURL() { return null; }
- public void resetBuffer() { }
}
No revision
No revision
1.1.2.6 +0 -14
xml-cocoon/src/org/apache/cocoon/environment/http/Attic/HttpRequest.java
Index: HttpRequest.java
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/environment/http/Attic/HttpRequest.java,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -r1.1.2.5 -r1.1.2.6
--- HttpRequest.java 2000/12/02 00:25:06 1.1.2.5
+++ HttpRequest.java 2000/12/02 15:20:38 1.1.2.6
@@ -243,18 +243,4 @@
public String getRealPath(String path) {
return this.req.getRealPath(path);
}
-
- public java.util.Map getParameterMap() {
- return this.req.getParameterMap();
- }
-
- public void setCharacterEncoding(java.lang.String env)
- throws java.io.UnsupportedEncodingException {
- this.req.setCharacterEncoding(env);
- }
-
- public java.lang.StringBuffer getRequestURL() {
- return this.req.getRequestURL();
- }
-
}
1.1.2.6 +0 -4
xml-cocoon/src/org/apache/cocoon/environment/http/Attic/HttpResponse.java
Index: HttpResponse.java
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/environment/http/Attic/HttpResponse.java,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -r1.1.2.5 -r1.1.2.6
--- HttpResponse.java 2000/12/02 00:25:06 1.1.2.5
+++ HttpResponse.java 2000/12/02 15:20:39 1.1.2.6
@@ -169,9 +169,5 @@
public Locale getLocale() {
return this.res.getLocale();
}
-
- public void resetBuffer() {
- this.res.resetBuffer();
- }
}