| javax.servlet.http.HttpServletResponseWrapper org.apache.catalina.ssi.ResponseIncludeWrapper
ResponseIncludeWrapper | public class ResponseIncludeWrapper extends HttpServletResponseWrapper (Code) | | A HttpServletResponseWrapper, used from
SSIServletExternalResolver
author: Bip Thelin author: David Becker version: $Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
lastModified | protected long lastModified(Code) | | |
ResponseIncludeWrapper | public ResponseIncludeWrapper(ServletContext context, HttpServletRequest request, HttpServletResponse response, ServletOutputStream captureServletOutputStream)(Code) | | Initialize our wrapper with the current HttpServletResponse and
ServletOutputStream.
Parameters: context - The servlet context Parameters: request - The HttpServletResponse to use Parameters: response - The response to use Parameters: captureServletOutputStream - The ServletOutputStream to use |
addDateHeader | public void addDateHeader(String name, long value)(Code) | | |
flushOutputStreamOrWriter | public void flushOutputStreamOrWriter() throws IOException(Code) | | Flush the servletOutputStream or printWriter ( only one will be non-null )
This must be called after a requestDispatcher.include, since we can't
assume that the included servlet flushed its stream.
|
getContentType | public String getContentType()(Code) | | Returns the value of the content-type header field.
the content type of the resource referenced by thisResponseIncludeWrapper , or null if not known. |
getLastModified | public long getLastModified()(Code) | | Returns the value of the last-modified header field. The
result is the number of milliseconds since January 1, 1970 GMT.
the date the resource referenced by thisResponseIncludeWrapper was last modified, or -1 if notknown. |
setContentType | public void setContentType(String mime)(Code) | | Sets the value of the content-type header field.
Parameters: mime - a mime type |
setDateHeader | public void setDateHeader(String name, long value)(Code) | | |
setLastModified | public void setLastModified(long lastModified)(Code) | | Sets the value of the last-modified header field.
Parameters: lastModified - The number of milliseconds since January 1, 1970 GMT. |
|
|