remm 01/10/04 12:26:06 Modified: catalina/src/share/org/apache/catalina Tag: tomcat_40_branch Response.java Log: - Merge a variety of fixes and small feature additions which have been made and debugged in the HEAD branch, including: - Removal of Jasper loader (merged with the shared loader). - Fixes a lot of spec complaince issue regarding the commit state of the response when using forwards, sendError or sendRedirect. - Fixes cache consistency issues for static resource serving. - Adds content caching for static resources (that's linked to the bugfix mentioned just above). - Merge enhanced error reporting and error page dispatching (which will be able to display error pages for most errors returned from the pipeline - like the 401 and 403 returned by the authenticator). - Merge the fixes for all the other more recent bugfixes that have been fixed in the HEAD branch. - Passes all tester and Watchdog tests. - Merge a variety of small enhancements to the build scripts which have been made in the HEAD branch. Revision Changes Path No revision No revision 1.4.2.1 +32 -4 jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Response.java Index: Response.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Response.java,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -u -r1.4 -r1.4.2.1 --- Response.java 2001/07/22 20:13:30 1.4 +++ Response.java 2001/10/04 19:26:06 1.4.2.1 @@ -1,7 +1,7 @@ /* - * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Response.java,v 1.4 2001/07/22 20:13:30 pier Exp $ - * $Revision: 1.4 $ - * $Date: 2001/07/22 20:13:30 $ + * $Header: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Response.java,v 1.4.2.1 2001/10/04 19:26:06 remm Exp $ + * $Revision: 1.4.2.1 $ + * $Date: 2001/10/04 19:26:06 $ * * ==================================================================== * @@ -79,7 +79,7 @@ * based on the processing of a corresponding <code>Request</code>. * * @author Craig R. McClanahan - * @version $Revision: 1.4 $ $Date: 2001/07/22 20:13:30 $ + * @version $Revision: 1.4.2.1 $ $Date: 2001/10/04 19:26:06 $ */ public interface Response { @@ -124,6 +124,20 @@ /** + * Set the application commit flag. + * + * @param appCommitted The new application committed flag value + */ + public void setAppCommitted(boolean appCommitted); + + + /** + * Application commit flag accessor. + */ + public boolean isAppCommitted(); + + + /** * Return the "processing inside an include" flag. */ public boolean getIncluded(); @@ -179,6 +193,20 @@ * @param stream The new output stream */ public void setStream(OutputStream stream); + + + /** + * Set the suspended flag. + * + * @param suspended The new suspended flag value + */ + public void setSuspended(boolean suspended); + + + /** + * Suspended flag accessor. + */ + public boolean isSuspended(); /**