taylor 2004/04/08 08:52:30
Modified: portal/src/java/org/apache/jetspeed/engine/servlet
ServletRequestImpl.java
Log:
The method getContentType of ServletRequestImpl.java had built-in a limitation to
mime type "text/html". This limitation is not necessary.
getContentType() has been removed. The parent method getContentType() from
HttpServletRequestWrapper will be used instead.
PR:
Obtained from:
Submitted by:
Reviewed by:
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.10 +1 -13
jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestImpl.java
Index: ServletRequestImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestImpl.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ServletRequestImpl.java 7 Apr 2004 04:15:32 -0000 1.9
+++ ServletRequestImpl.java 8 Apr 2004 15:52:30 -0000 1.10
@@ -53,18 +53,6 @@
return (HttpServletRequest) super.getRequest();
}
- // HttpServletRequestWrapper overlay
-
- public String getContentType()
- {
- String contentType = "text/html";
- if (getCharacterEncoding() != null)
- {
- contentType += ";" + getCharacterEncoding();
- }
- return contentType;
- }
-
// ServletRequestWrapper overlay
public String getParameter(String name)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]