8.3. Comparison of the Servlet API versions

The following sections describe the new interfaces available in Compliance Mode and the semantic differences between the two modes.

8.3.1. New interfaces in Servlet API V2.2

We describe new API features in the following sections. You should notice that in a few cases new interfaces specified in the Servlet API V2.2 are intended to replace existing interfaces. In those cases existing methods are marked as deprecated in the specification and you should plan to migrate to the new methods specified in the standard.

8.3.1.1. Response buffering

The ServletResponse interface now includes the methods getBufferSize(), setBufferSize(), flushBuffer(), isCommitted() and reset(). These allow control of the buffering ...

Get WebSphere V3.5 Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.