See: Description
Interface | Description |
---|---|
Selector |
Rules that will be used by the
ContentBufferingFilter and HttpServletResponseBuffer
to determine whether the response should be buffered. |
Class | Description |
---|---|
BasicSelector |
Basic implementation of
Selector . |
ContainerTweaks |
Provides details of Servlet container tweaks to apply
- necessary because containers behave subtly different.
|
ContainerTweaks.TomcatTweaks |
Container tweaks specific to Tomcat.
|
ContainerTweaks.WebLogicTweaks |
Container tweaks specific to WebLogic.
|
ContentBufferingFilter |
Abstract
Filter implementation that writes the main content
of a response to a temporary buffer where it can then be post-processed
before being served. |
HttpServletRequestFilterable |
This special HttpServletRequestWrapper is used to allow filtering of the HTTP headers
by adding them to an exclusion list.
|
HttpServletResponseBuffer |
Wraps an
HttpServletResponse , allowing the output to be buffered. |
ResponseMetaData |
Holds additional information about the response.
|
There are 2 mechanisms for doing this:
HttpServletResponseBuffer
wraps a HttpServletResponse
and
to forwards all content written to the response to an intermediate buffer which can be accessed. This can be
passed to anything that accepts a standard HttpServlerResponse (such as a RequestDispatcher
).
ContentBufferingFilter
is a Servlet Filter
that automatically applies
the HttpServletResponseBuffer
to requests. To use it, subclass it and implement application
specific functionality.
Both of these are suitable for working with text content, but not binary content.
Copyright © 2015. All Rights Reserved.