org.apache.catalina.servlet4preview (Apache Tomcat 8.5.43 API Documentation)

# Package org.apache.catalina.servlet4preview

This package provides early access to some of the new features in the Servlet 4.0 API.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  AsyncContext | Deprecated This class is not included in Tomcat 9 onwards.
  RequestDispatcher | Deprecated This class is not included in Tomcat 9 onwards.
  ServletContext | Deprecated This class is not included in Tomcat 9 onwards.

- Class Summary
  Class | Description
  --- | ---
  GenericFilter | Deprecated This class is not included in Tomcat 9 onwards.

## Package org.apache.catalina.servlet4preview Description

This package provides early access to some of the new features in the Servlet 4.0 API. This package exists in Tomcat 8.5 only. The package will not exist in Tomcat 9 and applications depending on classes in this package will need to be modified before they will work with Tomcat 9. It is intended that any such modifications will be limited to replacing `import org.apache.catalina.servlet4preview...` with `import javax.servlet...` and removing casts.

This package is not a complete copy of the proposed Servlet 4.0 API. It contains only a sub-set of those classes that are new or modified in Servlet 4.0. Users may request the inclusion of additional Servlet 4.0 API changes in this package via a Bugzilla enhancement request against Tomcat 8.5.

The Servlet 4.0 API is a work in progress. The public API of classes in this package may change in incompatible ways - including classes being renamed or deleted - between point releases of Tomcat 8.5.

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.