org.apache.catalina.servlets (Apache Tomcat 9.0.71 API Documentation)

# Package org.apache.catalina.servlets

This package contains `Servlets` that implement some of the standard functionality provided by the Catalina servlet container. Because these servlets are in the `org.apache.catalina` package hierarchy, they are in the privileged position of being able to reference internal server data structures, which application level servlets are prevented from accessing (by the application class loader implementation).

To the extent that these servlets depend upon internal Catalina data structures, they are obviously not portable to other servlet container environments. However, they can be used as models for creating application level servlets that provide similar capabilities -- most obviously the DefaultServlet implementation, which serves static resources when Catalina runs stand-alone.

- Class Summary
  Class | Description
  --- | ---
  CGIServlet | CGI-invoking servlet for web applications, used to execute scripts which comply to the Common Gateway Interface (CGI) specification and are named in the path-info used to invoke this servlet.
  CGIServlet.HTTPHeaderInputStream | This is an input stream specifically for reading HTTP headers.
  Constants | Deprecated.
  DefaultServlet | The default resource-serving servlet for most web applications, used to serve static resources such as HTML pages and images.
  DefaultServlet.CompressionFormat |
  DefaultServlet.Range |
  WebdavServlet | Servlet which adds support for WebDAV level 2.