Related Documentation : Web Cache User Guide : CachingFilter Exceptions : CachingFilter Exceptions
CachingFilter Exceptions
Additional exception types have been added to the Caching Filter.
FilterNonReentrantException
Thrown when it is detected that a caching filter's doFilter method is reentered by the same thread. Reentrant calls will block indefinitely because the first request has not yet unblocked the cache.
ResponseHeadersNotModifiableException
Same as FilterNonReentrantException.
AlreadyGzippedException
This exception is thrown when a gzip is attempted on already gzipped content.
The web package performs gzipping operations. One cause of problems on web browsers is getting content that is double or triple gzipped. They will either get unreadable content or a blank page.
ResponseHeadersNotModifiableException
A gzip encoding header needs to be added for gzipped content. The HttpServletResponse#setHeader() method is used for that purpose. If the header had already been set, the new value normally overwrites the previous one. In some cases according to the servlet specification, setHeader silently fails. Two scenarios where this happens are:
*The response is committed.
*RequestDispatcher#include method caused the request.
Copyright © 2010-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product Logo |   Feedback