javax.servlet Class Hierarchy (Servlet 3.1 API Documentation - Apache Tomcat 8.5.94)

# Hierarchy For Package javax.servlet

Package Hierarchies:

- All Packages

## Class Hierarchy

- java.lang.Object
  - javax.servlet.AsyncEvent
  - java.util.EventObject (implements java.io.Serializable)
    - javax.servlet.ServletContextEvent
      - javax.servlet.ServletContextAttributeEvent
    - javax.servlet.ServletRequestEvent
      - javax.servlet.ServletRequestAttributeEvent
  - javax.servlet.GenericServlet (implements java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig)
  - javax.servlet.HttpConstraintElement
    - javax.servlet.HttpMethodConstraintElement
    - javax.servlet.ServletSecurityElement
  - java.io.InputStream (implements java.io.Closeable)
    - javax.servlet.ServletInputStream
  - javax.servlet.MultipartConfigElement
  - java.io.OutputStream (implements java.io.Closeable, java.io.Flushable)
    - javax.servlet.ServletOutputStream
  - javax.servlet.ServletRequestWrapper (implements javax.servlet.ServletRequest)
  - javax.servlet.ServletResponseWrapper (implements javax.servlet.ServletResponse)
  - java.lang.Throwable (implements java.io.Serializable)
    - java.lang.Exception
      - javax.servlet.ServletException
        - javax.servlet.UnavailableException

## Interface Hierarchy

- javax.servlet.AsyncContext
- java.util.EventListener
  - javax.servlet.AsyncListener
  - javax.servlet.ReadListener
  - javax.servlet.ServletContextAttributeListener
  - javax.servlet.ServletContextListener
  - javax.servlet.ServletRequestAttributeListener
  - javax.servlet.ServletRequestListener
  - javax.servlet.WriteListener
- javax.servlet.Filter
- javax.servlet.FilterChain
- javax.servlet.FilterConfig
- javax.servlet.Registration
  - javax.servlet.FilterRegistration
    - javax.servlet.FilterRegistration.Dynamic (also extends javax.servlet.Registration.Dynamic)
  - javax.servlet.Registration.Dynamic
    - javax.servlet.FilterRegistration.Dynamic (also extends javax.servlet.FilterRegistration)
    - javax.servlet.ServletRegistration.Dynamic (also extends javax.servlet.ServletRegistration)
  - javax.servlet.ServletRegistration
    - javax.servlet.ServletRegistration.Dynamic (also extends javax.servlet.Registration.Dynamic)
- javax.servlet.RequestDispatcher
- javax.servlet.Servlet
- javax.servlet.ServletConfig
- javax.servlet.ServletContainerInitializer
- javax.servlet.ServletContext
- javax.servlet.ServletRequest
- javax.servlet.ServletResponse
- javax.servlet.SessionCookieConfig
- javax.servlet.SingleThreadModel

## Enum Hierarchy

- java.lang.Object
  - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
    - javax.servlet.DispatcherType
    - javax.servlet.SessionTrackingMode