|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Selector
Rules that will be used by the ContentBufferingFilter and HttpServletResponseBuffer
to determine whether the response should be buffered.
For a basic implementation, use BasicSelector.
| Method Summary | |
|---|---|
boolean |
shouldAbortBufferingForHttpStatusCode(int statusCode)
Determine whether buffering should be used for a particular HTTP status code. |
boolean |
shouldBufferForContentType(String contentType,
String mimeType,
String encoding)
Determine whether buffering should be used for a particular content-type. |
boolean |
shouldBufferForRequest(javax.servlet.http.HttpServletRequest request)
Determine whether buffering should be used for a particular request. |
| Method Detail |
|---|
boolean shouldBufferForContentType(String contentType,
String mimeType,
String encoding)
contentType - e.g. "text/html; charset=iso-8859-1"mimeType - e.g "text/html"encoding - e.g. "iso-8859-1" (may be null)boolean shouldAbortBufferingForHttpStatusCode(int statusCode)
statusCode - e.g. 200, 302, 404, 500, etc. See constants in
HttpServletResponse.boolean shouldBufferForRequest(javax.servlet.http.HttpServletRequest request)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||