# Package org.springframework.web

Common, generic interfaces that define minimal boundary points between Spring's web infrastructure and other framework modules.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  HttpRequestHandler | Plain handler interface for components that process HTTP requests, analogous to a Servlet.
  WebApplicationInitializer | Interface to be implemented in Servlet 3.0+ environments in order to configure the `ServletContext` programmatically -- as opposed to (or possibly in conjunction with) the traditional `web.xml`-based approach.

- Class Summary
  Class | Description
  --- | ---
  SpringServletContainerInitializer | Servlet 3.0 `ServletContainerInitializer` designed to support code-based configuration of the servlet container using Spring's `WebApplicationInitializer` SPI as opposed to (or possibly in combination with) the traditional `web.xml`-based approach.

- Exception Summary
  Exception | Description
  --- | ---
  HttpMediaTypeException | Abstract base for exceptions related to media types.
  HttpMediaTypeNotAcceptableException | Exception thrown when the request handler cannot generate a response that is acceptable by the client.
  HttpMediaTypeNotSupportedException | Exception thrown when a client POSTs, PUTs, or PATCHes content of a type not supported by request handler.
  HttpRequestMethodNotSupportedException | Exception thrown when a request handler does not support a specific request method.
  HttpSessionRequiredException | Exception thrown when an HTTP request handler requires a pre-existing session.

## Package org.springframework.web Description

Common, generic interfaces that define minimal boundary points between Spring's web infrastructure and other framework modules.