Save This Page
Home » displaytag-1.1.1-src » org » displaytag » filter » [javadoc | source]
org.displaytag.filter
public interface: BufferedResponseWrapper [javadoc | source]

All Implemented Interfaces:
    HttpServletResponse

All Known Implementing Classes:
    BufferedResponseWrapper13Impl

Buffers the response; will not send anything directly through to the actual response. Note that this blocks the content-type from being set, you must set it manually in the response.
Field Summary
 String[] FILTERED_HEADERS    Headers which cause problems during file download. 
Method from org.displaytag.filter.BufferedResponseWrapper Summary:
getContentAsString,   getContentType,   isOutRequested
Method from org.displaytag.filter.BufferedResponseWrapper Detail:
 public String getContentAsString()
    Returns the String representation of the content written to the response.
 public String getContentType()
    If the app server sets the content-type of the response, it is sticky and you will not be able to change it. Therefore it is intercepted here.
 public boolean isOutRequested()
    Return true if ServletOutputStream has been requested from Table tag.