接口的使用
org.springframework.web.context.ServletContextAware
使用ServletContextAware的程序包 程序包 说明 org.springframework.orm.hibernate5.support Classes supporting theorg.springframework.orm.hibernate5
package.org.springframework.orm.jpa.support Classes supporting theorg.springframework.orm.jpa
package.org.springframework.web.accept This package contains classes used to determine the requested the media types in a request.org.springframework.web.context.support Classes supporting theorg.springframework.web.context
package, such as WebApplicationContext implementations and various utility classes.org.springframework.web.filter Provides generic filter base classes allowing for bean-style configuration.org.springframework.web.multipart.commons MultipartResolver implementation for Apache Commons FileUpload.org.springframework.web.multipart.support Support classes for the multipart resolution framework.org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.org.springframework.web.servlet.function.support Classes supporting theorg.springframework.web.servlet.function
package.org.springframework.web.servlet.handler Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.org.springframework.web.servlet.mvc Standard controller implementations for the Servlet MVC framework that comes with Spring.org.springframework.web.servlet.mvc.method Servlet-based infrastructure for handler method processing, building on theorg.springframework.web.method
package.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.resource Support classes for serving static resources.org.springframework.web.servlet.support Support classes for Spring's web MVC framework.org.springframework.web.servlet.view Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations.org.springframework.web.servlet.view.document Support classes for document generation, providing View implementations for PDF and Excel.org.springframework.web.servlet.view.feed Support classes for feed generation, providing View implementations for Atom and RSS.org.springframework.web.servlet.view.freemarker Support classes for the integration of FreeMarker as Spring web view technology.org.springframework.web.servlet.view.groovy Support classes for the integration of Groovy Templates as Spring web view technology.org.springframework.web.servlet.view.json Support classes for providing a View implementation based on JSON serialization.org.springframework.web.servlet.view.script Support classes for views based on the JSR-223 script engine abstraction (as included in Java 6+), e.g. using JavaScript via Nashorn on JDK 8.org.springframework.web.servlet.view.tiles3 Support classes for the integration of Tiles 3 (the standalone version of Tiles) as Spring web view technology.org.springframework.web.servlet.view.xml Support classes for providing a View implementation based on XML Marshalling.org.springframework.web.servlet.view.xslt Support classes for XSLT, providing a View implementation for XSLT stylesheets.org.springframework.web.socket.server.jetty Server-side support for the Jetty 9+ WebSocket API.org.springframework.web.socket.server.standard Server-side classes for use with standard JSR-356 WebSocket endpoints.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.web.socket.sockjs.transport.handler TransportHandler
implementation classes as well as a concreteSockJsService
.org.springframework.orm.hibernate5.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.orm.hibernate5.support中的类 修饰符和类型 类 说明 class
OpenSessionInViewFilter
Servlet Filter that binds a Hibernate Session to the thread for the entire processing of the request.org.springframework.orm.jpa.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.orm.jpa.support中的类 修饰符和类型 类 说明 class
OpenEntityManagerInViewFilter
Servlet Filter that binds a JPA EntityManager to the thread for the entire processing of the request.org.springframework.web.accept中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.accept中的类 修饰符和类型 类 说明 class
ContentNegotiationManagerFactoryBean
Factory to create aContentNegotiationManager
and configure it withContentNegotiationStrategy
instances.org.springframework.web.context.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.context.support中的类 修饰符和类型 类 说明 class
ServletContextAttributeExporter
Exporter that takes Spring-defined objects and exposes them as ServletContext attributes.class
ServletContextAttributeFactoryBean
FactoryBean
that fetches a specific, existing ServletContext attribute.class
ServletContextParameterFactoryBean
FactoryBean
that retrieves a specific ServletContext init parameter (that is, a "context-param" defined inweb.xml
).class
WebApplicationObjectSupport
Convenient superclass for application objects running in aWebApplicationContext
.org.springframework.web.filter中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.filter中的类 修饰符和类型 类 说明 class
AbstractRequestLoggingFilter
Base class forFilter
s that perform logging operations before and after a request is processed.class
CharacterEncodingFilter
Servlet Filter that allows one to specify a character encoding for requests.class
CommonsRequestLoggingFilter
Simple request logging filter that writes the request URI (and optionally the query string) to the Commons Log.class
CorsFilter
Filter
that handles CORS preflight requests and intercepts CORS simple and actual requests thanks to aCorsProcessor
implementation (DefaultCorsProcessor
by default) in order to add the relevant CORS response headers (likeAccess-Control-Allow-Origin
) using the providedCorsConfigurationSource
(for example anUrlBasedCorsConfigurationSource
instance.class
DelegatingFilterProxy
Proxy for a standard Servlet Filter, delegating to a Spring-managed bean that implements the Filter interface.class
FormContentFilter
Filter
that parses form data for HTTP PUT, PATCH, and DELETE requests and exposes it as Servlet request parameters.class
ForwardedHeaderFilter
Extract values from "Forwarded" and "X-Forwarded-*" headers, wrap the request and response, and make they reflect the client-originated protocol and address in the following methods:getServerName()
getServerPort()
getScheme()
isSecure()
sendRedirect(String)
.class
GenericFilterBean
Simple base implementation ofFilter
which treats its config parameters (init-param
entries within thefilter
tag inweb.xml
) as bean properties.class
HiddenHttpMethodFilter
Filter
that converts posted method parameters into HTTP methods, retrievable viaHttpServletRequest.getMethod()
.class
HttpPutFormContentFilter
已过时。as of 5.1 in favor ofFormContentFilter
which is the same but also handles DELETE.class
OncePerRequestFilter
Filter base class that aims to guarantee a single execution per request dispatch, on any servlet container.class
RelativeRedirectFilter
OverridesHttpServletResponse.sendRedirect(String)
and handles it by setting the HTTP status and "Location" headers, which keeps the Servlet container from re-writing relative redirect URLs into absolute ones.class
RequestContextFilter
Servlet Filter that exposes the request to the current thread, through bothLocaleContextHolder
andRequestContextHolder
.class
ServletContextRequestLoggingFilter
Simple request logging filter that writes the request URI (and optionally the query string) to the ServletContext log.class
ShallowEtagHeaderFilter
Filter
that generates anETag
value based on the content on the response.org.springframework.web.multipart.commons中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.multipart.commons中的类 修饰符和类型 类 说明 class
CommonsMultipartResolver
Servlet-basedMultipartResolver
implementation for Apache Commons FileUpload 1.2 or above.org.springframework.web.multipart.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.multipart.support中的类 修饰符和类型 类 说明 class
MultipartFilter
Servlet Filter that resolves multipart requests via aMultipartResolver
.org.springframework.web.servlet.config.annotation中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.config.annotation中的类 修饰符和类型 类 说明 class
DelegatingWebMvcConfiguration
A subclass ofWebMvcConfigurationSupport
that detects and delegates to all beans of typeWebMvcConfigurer
allowing them to customize the configuration provided byWebMvcConfigurationSupport
.class
WebMvcConfigurationSupport
This is the main class providing the configuration behind the MVC Java config.org.springframework.web.servlet.function.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.function.support中的类 修饰符和类型 类 说明 class
RouterFunctionMapping
HandlerMapping
implementation that supportsRouterFunctions
.org.springframework.web.servlet.handler中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.handler中的类 修饰符和类型 类 说明 class
AbstractDetectingUrlHandlerMapping
Abstract implementation of theHandlerMapping
interface, detecting URL mappings for handler beans through introspection of all defined beans in the application context.class
AbstractHandlerMapping
Abstract base class forHandlerMapping
implementations.class
AbstractHandlerMethodMapping<T>
Abstract base class forHandlerMapping
implementations that define a mapping between a request and aHandlerMethod
.class
AbstractUrlHandlerMapping
Abstract base class for URL-mappedHandlerMapping
implementations.class
BeanNameUrlHandlerMapping
Implementation of theHandlerMapping
interface that maps from URLs to beans with names that start with a slash ("/"), similar to how Struts maps URLs to action names.class
SimpleServletPostProcessor
BeanPostProcessor
that applies initialization and destruction callbacks to beans that implement theServlet
interface.class
SimpleUrlHandlerMapping
Implementation of theHandlerMapping
interface that maps from URLs to request handler beans.org.springframework.web.servlet.mvc中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.mvc中的类 修饰符和类型 类 说明 class
AbstractController
Convenient superclass for controller implementations, using the Template Method design pattern.class
AbstractUrlViewController
Abstract base class forControllers
that return a view name based on the request URL.class
ParameterizableViewController
Trivial controller that always returns a pre-configured view and optionally sets the response status code.class
ServletForwardingController
Spring Controller implementation that forwards to a named servlet, i.e. the "servlet-name" in web.xml rather than a URL path mapping.class
ServletWrappingController
Spring Controller implementation that wraps a servlet instance which it manages internally.class
UrlFilenameViewController
SimpleController
implementation that transforms the virtual path of a URL into a view name and returns that view.class
WebContentInterceptor
Handler interceptor that checks the request and prepares the response.org.springframework.web.servlet.mvc.method中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.mvc.method中的类 修饰符和类型 类 说明 class
AbstractHandlerMethodAdapter
Abstract base class forHandlerAdapter
implementations that support handlers of typeHandlerMethod
.class
RequestMappingInfoHandlerMapping
Abstract base class for classes for whichRequestMappingInfo
defines the mapping between a request and a handler method.org.springframework.web.servlet.mvc.method.annotation中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.mvc.method.annotation中的类 修饰符和类型 类 说明 class
RequestMappingHandlerAdapter
class
RequestMappingHandlerMapping
CreatesRequestMappingInfo
instances from type and method-level@RequestMapping
annotations in@Controller
classes.org.springframework.web.servlet.resource中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.resource中的类 修饰符和类型 类 说明 class
DefaultServletHttpRequestHandler
AnHttpRequestHandler
for serving static files using the Servlet container's "default" Servlet.class
ResourceHttpRequestHandler
HttpRequestHandler
that serves static resources in an optimized way according to the guidelines of Page Speed, YSlow, etc.class
ResourceUrlEncodingFilter
A filter that wraps theHttpServletResponse
and overrides itsencodeURL
method in order to translate internal resource request URLs into public URL paths for external use.org.springframework.web.servlet.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.support中的类 修饰符和类型 类 说明 class
WebContentGenerator
Convenient superclass for any kind of web content generator, likeAbstractController
andWebContentInterceptor
.org.springframework.web.servlet.view中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view中的类 修饰符和类型 类 说明 class
AbstractCachingViewResolver
Convenient base class forViewResolver
implementations.class
AbstractTemplateView
Adapter base class for template-based view technologies such as FreeMarker, with the ability to use request and session attributes in their model and the option to expose helper objects for Spring's FreeMarker macro library.class
AbstractTemplateViewResolver
Abstract base class for template view resolvers, in particular for FreeMarker views.class
AbstractUrlBasedView
Abstract base class for URL-based views.class
AbstractView
Abstract base class forView
implementations.class
BeanNameViewResolver
A simple implementation ofViewResolver
that interprets a view name as a bean name in the current application context, i.e. typically in the XML file of the executingDispatcherServlet
.class
ContentNegotiatingViewResolver
Implementation ofViewResolver
that resolves a view based on the request file name orAccept
header.class
InternalResourceView
Wrapper for a JSP or other resource within the same web application.class
InternalResourceViewResolver
Convenient subclass ofUrlBasedViewResolver
that supportsInternalResourceView
(i.e.class
JstlView
Specialization ofInternalResourceView
for JSTL pages, i.e.class
RedirectView
View that redirects to an absolute, context relative, or current request relative URL.class
ResourceBundleViewResolver
AViewResolver
implementation that uses bean definitions in aResourceBundle
, specified by the bundle basename.class
UrlBasedViewResolver
Simple implementation of theViewResolver
interface, allowing for direct resolution of symbolic view names to URLs, without explicit mapping definitions.class
ViewResolverComposite
AViewResolver
that delegates to others.class
XmlViewResolver
AViewResolver
implementation that uses bean definitions in a dedicated XML file for view definitions, specified by resource location.org.springframework.web.servlet.view.document中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.document中的类 修饰符和类型 类 说明 class
AbstractPdfStamperView
Abstract superclass for PDF views that operate on an existing document with an AcroForm.class
AbstractPdfView
Abstract superclass for PDF views.class
AbstractXlsView
Convenient superclass for Excel document views in traditional XLS format.class
AbstractXlsxStreamingView
Convenient superclass for Excel document views in the Office 2007 XLSX format, using POI's streaming variant.class
AbstractXlsxView
Convenient superclass for Excel document views in the Office 2007 XLSX format (as supported by POI-OOXML).org.springframework.web.servlet.view.feed中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.feed中的类 修饰符和类型 类 说明 class
AbstractAtomFeedView
Abstract superclass for Atom Feed views, using the ROME package.class
AbstractFeedView<T extends com.rometools.rome.feed.WireFeed>
Abstract base class for Atom and RSS Feed views, using the ROME package.class
AbstractRssFeedView
Abstract superclass for RSS Feed views, using the ROME package.org.springframework.web.servlet.view.freemarker中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.freemarker中的类 修饰符和类型 类 说明 class
FreeMarkerConfigurer
JavaBean to configure FreeMarker for web usage, via the "configLocation" and/or "freemarkerSettings" and/or "templateLoaderPath" properties.class
FreeMarkerView
View using the FreeMarker template engine.class
FreeMarkerViewResolver
Convenience subclass ofUrlBasedViewResolver
that supportsFreeMarkerView
(i.e.org.springframework.web.servlet.view.groovy中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.groovy中的类 修饰符和类型 类 说明 class
GroovyMarkupView
AnAbstractTemplateView
subclass based on Groovy XML/XHTML markup templates.class
GroovyMarkupViewResolver
Convenience subclass of @link AbstractTemplateViewResolver} that supportsGroovyMarkupView
(i.e.org.springframework.web.servlet.view.json中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.json中的类 修饰符和类型 类 说明 class
AbstractJackson2View
Abstract base class for Jackson based and content type independentAbstractView
implementations.class
MappingJackson2JsonView
Spring MVCView
that renders JSON content by serializing the model for the current request using Jackson 2'sObjectMapper
.org.springframework.web.servlet.view.script中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.script中的类 修饰符和类型 类 说明 class
ScriptTemplateView
AnAbstractUrlBasedView
subclass designed to run any template library based on a JSR-223 script engine.class
ScriptTemplateViewResolver
Convenience subclass ofUrlBasedViewResolver
that supportsScriptTemplateView
and custom subclasses of it.org.springframework.web.servlet.view.tiles3中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.tiles3中的类 修饰符和类型 类 说明 class
TilesConfigurer
Helper class to configure Tiles 3.x for the Spring Framework.class
TilesView
View
implementation that renders through the Tiles Request API.class
TilesViewResolver
Convenience subclass ofUrlBasedViewResolver
that supportsTilesView
(i.e.org.springframework.web.servlet.view.xml中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.xml中的类 修饰符和类型 类 说明 class
MappingJackson2XmlView
Spring MVCView
that renders XML content by serializing the model for the current request using Jackson 2'sXmlMapper
.class
MarshallingView
Spring-MVCView
that allows for response context to be rendered as the result of marshalling by aMarshaller
.org.springframework.web.servlet.view.xslt中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.xslt中的类 修饰符和类型 类 说明 class
XsltView
XSLT-driven View that allows for response context to be rendered as the result of an XSLT transformation.class
XsltViewResolver
ViewResolver
implementation that resolves instances ofXsltView
by translating the supplied view name into the URL of the XSLT stylesheet.org.springframework.web.socket.server.jetty中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.socket.server.jetty中的类 修饰符和类型 类 说明 class
JettyRequestUpgradeStrategy
ARequestUpgradeStrategy
for use with Jetty 9.4.org.springframework.web.socket.server.standard中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.socket.server.standard中的类 修饰符和类型 类 说明 class
ServerEndpointExporter
Detects beans of typeServerEndpointConfig
and registers with the standard Java WebSocket runtime.class
ServletServerContainerFactoryBean
AFactoryBean
for configuringServerContainer
.org.springframework.web.socket.server.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.socket.server.support中的类 修饰符和类型 类 说明 class
DefaultHandshakeHandler
A defaultHandshakeHandler
implementation, extendingAbstractHandshakeHandler
with Servlet-specific initialization support.class
WebSocketHandlerMapping
An extension ofSimpleUrlHandlerMapping
that is also aSmartLifecycle
container and propagates start and stop calls to any handlers that implementLifecycle
.class
WebSocketHttpRequestHandler
AHttpRequestHandler
for processing WebSocket handshake requests.org.springframework.web.socket.sockjs.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.socket.sockjs.support中的类 修饰符和类型 类 说明 class
SockJsHttpRequestHandler
AnHttpRequestHandler
that allows mapping aSockJsService
to requests in a Servlet container.org.springframework.web.socket.sockjs.transport.handler中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.socket.sockjs.transport.handler中的类 修饰符和类型 类 说明 class
DefaultSockJsService
A default implementation ofSockJsService
with all defaultTransportHandler
implementations pre-registered.class
WebSocketTransportHandler
WebSocket-basedTransportHandler
.