程序包 org.springframework.web
Common, generic interfaces that define minimal boundary points between Spring's web infrastructure and other framework modules.
接口概要 接口 说明 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 theServletContext
programmatically -- as opposed to (or possibly in conjunction with) the traditionalweb.xml
-based approach.类概要 类 说明 SpringServletContainerInitializer Servlet 3.0ServletContainerInitializer
designed to support code-based configuration of the servlet container using Spring'sWebApplicationInitializer
SPI as opposed to (or possibly in combination with) the traditionalweb.xml
-based approach.异常错误概要 异常错误 说明 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.