程序包的使用
org.springframework.web
使用org.springframework.web的程序包 程序包 说明 org.springframework.remoting.caucho This package provides remoting classes for Caucho's Hessian protocol: a proxy factory for accessing Hessian services, and an exporter for making beans available to Hessian clients.org.springframework.remoting.httpinvoker Remoting classes for transparent Java-to-Java remoting via HTTP invokers.org.springframework.web Common, generic interfaces that define minimal boundary points between Spring's web infrastructure and other framework modules.org.springframework.web.accept This package contains classes used to determine the requested the media types in a request.org.springframework.web.context Contains a variant of the application context interface for web applications, and the ContextLoaderListener that bootstraps a root web application context.org.springframework.web.server.adapter Implementations to adapt to the underlyingorg.springframework.http.client.reactive
reactive HTTP adapter andHttpHandler
.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.servlet.resource Support classes for serving static resources.org.springframework.web.servlet.support Support classes for Spring's web MVC framework.org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.server.support Server-side support classes including container-specific strategies for upgrading a request.org.springframework.web.socket.sockjs.support Support classes for SockJS including anAbstractSockJsService
implementation.org.springframework.remoting.caucho使用的org.springframework.web中的类 类 说明 HttpRequestHandler Plain handler interface for components that process HTTP requests, analogous to a Servlet.org.springframework.remoting.httpinvoker使用的org.springframework.web中的类 类 说明 HttpRequestHandler Plain handler interface for components that process HTTP requests, analogous to a Servlet.org.springframework.web使用的org.springframework.web中的类 类 说明 HttpMediaTypeException Abstract base for exceptions related to media types.org.springframework.web.accept使用的org.springframework.web中的类 类 说明 HttpMediaTypeNotAcceptableException Exception thrown when the request handler cannot generate a response that is acceptable by the client.org.springframework.web.context使用的org.springframework.web中的类 类 说明 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.org.springframework.web.server.adapter使用的org.springframework.web中的类 类 说明 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.org.springframework.web.servlet.mvc.method.annotation使用的org.springframework.web中的类 类 说明 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.org.springframework.web.servlet.mvc.support使用的org.springframework.web中的类 类 说明 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.org.springframework.web.servlet.resource使用的org.springframework.web中的类 类 说明 HttpRequestHandler Plain handler interface for components that process HTTP requests, analogous to a Servlet.org.springframework.web.servlet.support使用的org.springframework.web中的类 类 说明 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.org.springframework.web.socket.config.annotation使用的org.springframework.web中的类 类 说明 HttpRequestHandler Plain handler interface for components that process HTTP requests, analogous to a Servlet.org.springframework.web.socket.server.support使用的org.springframework.web中的类 类 说明 HttpRequestHandler Plain handler interface for components that process HTTP requests, analogous to a Servlet.org.springframework.web.socket.sockjs.support使用的org.springframework.web中的类 类 说明 HttpRequestHandler Plain handler interface for components that process HTTP requests, analogous to a Servlet.