接口的使用
org.springframework.web.context.ServletContextAware
使用ServletContextAware的程序包 程序包 说明 org.springframework.orm.hibernate5.support Classes supporting theorg.springframework.orm.hibernate5package.org.springframework.orm.jpa.support Classes supporting theorg.springframework.orm.jpapackage.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.contextpackage, 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.functionpackage.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.methodpackage.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotationpackage.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 anAbstractSockJsServiceimplementation.org.springframework.web.socket.sockjs.transport.handler TransportHandlerimplementation classes as well as a concreteSockJsService.org.springframework.orm.hibernate5.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.orm.hibernate5.support中的类 修饰符和类型 类 说明 classOpenSessionInViewFilterServlet 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中的类 修饰符和类型 类 说明 classOpenEntityManagerInViewFilterServlet 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中的类 修饰符和类型 类 说明 classContentNegotiationManagerFactoryBeanFactory to create aContentNegotiationManagerand configure it withContentNegotiationStrategyinstances.org.springframework.web.context.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.context.support中的类 修饰符和类型 类 说明 classServletContextAttributeExporterExporter that takes Spring-defined objects and exposes them as ServletContext attributes.classServletContextAttributeFactoryBeanFactoryBeanthat fetches a specific, existing ServletContext attribute.classServletContextParameterFactoryBeanFactoryBeanthat retrieves a specific ServletContext init parameter (that is, a "context-param" defined inweb.xml).classWebApplicationObjectSupportConvenient superclass for application objects running in aWebApplicationContext.org.springframework.web.filter中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.filter中的类 修饰符和类型 类 说明 classAbstractRequestLoggingFilterBase class forFilters that perform logging operations before and after a request is processed.classCharacterEncodingFilterServlet Filter that allows one to specify a character encoding for requests.classCommonsRequestLoggingFilterSimple request logging filter that writes the request URI (and optionally the query string) to the Commons Log.classCorsFilterFilterthat handles CORS preflight requests and intercepts CORS simple and actual requests thanks to aCorsProcessorimplementation (DefaultCorsProcessorby default) in order to add the relevant CORS response headers (likeAccess-Control-Allow-Origin) using the providedCorsConfigurationSource(for example anUrlBasedCorsConfigurationSourceinstance.classDelegatingFilterProxyProxy for a standard Servlet Filter, delegating to a Spring-managed bean that implements the Filter interface.classFormContentFilterFilterthat parses form data for HTTP PUT, PATCH, and DELETE requests and exposes it as Servlet request parameters.classForwardedHeaderFilterExtract 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).classGenericFilterBeanSimple base implementation ofFilterwhich treats its config parameters (init-paramentries within thefiltertag inweb.xml) as bean properties.classHiddenHttpMethodFilterFilterthat converts posted method parameters into HTTP methods, retrievable viaHttpServletRequest.getMethod().classHttpPutFormContentFilter已过时。as of 5.1 in favor ofFormContentFilterwhich is the same but also handles DELETE.classOncePerRequestFilterFilter base class that aims to guarantee a single execution per request dispatch, on any servlet container.classRelativeRedirectFilterOverridesHttpServletResponse.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.classRequestContextFilterServlet Filter that exposes the request to the current thread, through bothLocaleContextHolderandRequestContextHolder.classServletContextRequestLoggingFilterSimple request logging filter that writes the request URI (and optionally the query string) to the ServletContext log.classShallowEtagHeaderFilterFilterthat generates anETagvalue based on the content on the response.org.springframework.web.multipart.commons中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.multipart.commons中的类 修饰符和类型 类 说明 classCommonsMultipartResolverServlet-basedMultipartResolverimplementation for Apache Commons FileUpload 1.2 or above.org.springframework.web.multipart.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.multipart.support中的类 修饰符和类型 类 说明 classMultipartFilterServlet Filter that resolves multipart requests via aMultipartResolver.org.springframework.web.servlet.config.annotation中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.config.annotation中的类 修饰符和类型 类 说明 classDelegatingWebMvcConfigurationA subclass ofWebMvcConfigurationSupportthat detects and delegates to all beans of typeWebMvcConfigurerallowing them to customize the configuration provided byWebMvcConfigurationSupport.classWebMvcConfigurationSupportThis 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中的类 修饰符和类型 类 说明 classRouterFunctionMappingHandlerMappingimplementation that supportsRouterFunctions.org.springframework.web.servlet.handler中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.handler中的类 修饰符和类型 类 说明 classAbstractDetectingUrlHandlerMappingAbstract implementation of theHandlerMappinginterface, detecting URL mappings for handler beans through introspection of all defined beans in the application context.classAbstractHandlerMappingAbstract base class forHandlerMappingimplementations.classAbstractHandlerMethodMapping<T>Abstract base class forHandlerMappingimplementations that define a mapping between a request and aHandlerMethod.classAbstractUrlHandlerMappingAbstract base class for URL-mappedHandlerMappingimplementations.classBeanNameUrlHandlerMappingImplementation of theHandlerMappinginterface that maps from URLs to beans with names that start with a slash ("/"), similar to how Struts maps URLs to action names.classSimpleServletPostProcessorBeanPostProcessorthat applies initialization and destruction callbacks to beans that implement theServletinterface.classSimpleUrlHandlerMappingImplementation of theHandlerMappinginterface that maps from URLs to request handler beans.org.springframework.web.servlet.mvc中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.mvc中的类 修饰符和类型 类 说明 classAbstractControllerConvenient superclass for controller implementations, using the Template Method design pattern.classAbstractUrlViewControllerAbstract base class forControllersthat return a view name based on the request URL.classParameterizableViewControllerTrivial controller that always returns a pre-configured view and optionally sets the response status code.classServletForwardingControllerSpring Controller implementation that forwards to a named servlet, i.e. the "servlet-name" in web.xml rather than a URL path mapping.classServletWrappingControllerSpring Controller implementation that wraps a servlet instance which it manages internally.classUrlFilenameViewControllerSimpleControllerimplementation that transforms the virtual path of a URL into a view name and returns that view.classWebContentInterceptorHandler interceptor that checks the request and prepares the response.org.springframework.web.servlet.mvc.method中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.mvc.method中的类 修饰符和类型 类 说明 classAbstractHandlerMethodAdapterAbstract base class forHandlerAdapterimplementations that support handlers of typeHandlerMethod.classRequestMappingInfoHandlerMappingAbstract base class for classes for whichRequestMappingInfodefines 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中的类 修饰符和类型 类 说明 classRequestMappingHandlerAdapterclassRequestMappingHandlerMappingCreatesRequestMappingInfoinstances from type and method-level@RequestMappingannotations in@Controllerclasses.org.springframework.web.servlet.resource中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.resource中的类 修饰符和类型 类 说明 classDefaultServletHttpRequestHandlerAnHttpRequestHandlerfor serving static files using the Servlet container's "default" Servlet.classResourceHttpRequestHandlerHttpRequestHandlerthat serves static resources in an optimized way according to the guidelines of Page Speed, YSlow, etc.classResourceUrlEncodingFilterA filter that wraps theHttpServletResponseand overrides itsencodeURLmethod 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中的类 修饰符和类型 类 说明 classWebContentGeneratorConvenient superclass for any kind of web content generator, likeAbstractControllerandWebContentInterceptor.org.springframework.web.servlet.view中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view中的类 修饰符和类型 类 说明 classAbstractCachingViewResolverConvenient base class forViewResolverimplementations.classAbstractTemplateViewAdapter 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.classAbstractTemplateViewResolverAbstract base class for template view resolvers, in particular for FreeMarker views.classAbstractUrlBasedViewAbstract base class for URL-based views.classAbstractViewAbstract base class forViewimplementations.classBeanNameViewResolverA simple implementation ofViewResolverthat interprets a view name as a bean name in the current application context, i.e. typically in the XML file of the executingDispatcherServlet.classContentNegotiatingViewResolverImplementation ofViewResolverthat resolves a view based on the request file name orAcceptheader.classInternalResourceViewWrapper for a JSP or other resource within the same web application.classInternalResourceViewResolverConvenient subclass ofUrlBasedViewResolverthat supportsInternalResourceView(i.e.classJstlViewSpecialization ofInternalResourceViewfor JSTL pages, i.e.classRedirectViewView that redirects to an absolute, context relative, or current request relative URL.classResourceBundleViewResolverAViewResolverimplementation that uses bean definitions in aResourceBundle, specified by the bundle basename.classUrlBasedViewResolverSimple implementation of theViewResolverinterface, allowing for direct resolution of symbolic view names to URLs, without explicit mapping definitions.classViewResolverCompositeAViewResolverthat delegates to others.classXmlViewResolverAViewResolverimplementation 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中的类 修饰符和类型 类 说明 classAbstractPdfStamperViewAbstract superclass for PDF views that operate on an existing document with an AcroForm.classAbstractPdfViewAbstract superclass for PDF views.classAbstractXlsViewConvenient superclass for Excel document views in traditional XLS format.classAbstractXlsxStreamingViewConvenient superclass for Excel document views in the Office 2007 XLSX format, using POI's streaming variant.classAbstractXlsxViewConvenient 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中的类 修饰符和类型 类 说明 classAbstractAtomFeedViewAbstract superclass for Atom Feed views, using the ROME package.classAbstractFeedView<T extends com.rometools.rome.feed.WireFeed>Abstract base class for Atom and RSS Feed views, using the ROME package.classAbstractRssFeedViewAbstract superclass for RSS Feed views, using the ROME package.org.springframework.web.servlet.view.freemarker中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.freemarker中的类 修饰符和类型 类 说明 classFreeMarkerConfigurerJavaBean to configure FreeMarker for web usage, via the "configLocation" and/or "freemarkerSettings" and/or "templateLoaderPath" properties.classFreeMarkerViewView using the FreeMarker template engine.classFreeMarkerViewResolverConvenience subclass ofUrlBasedViewResolverthat supportsFreeMarkerView(i.e.org.springframework.web.servlet.view.groovy中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.groovy中的类 修饰符和类型 类 说明 classGroovyMarkupViewAnAbstractTemplateViewsubclass based on Groovy XML/XHTML markup templates.classGroovyMarkupViewResolverConvenience subclass of @link AbstractTemplateViewResolver} that supportsGroovyMarkupView(i.e.org.springframework.web.servlet.view.json中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.json中的类 修饰符和类型 类 说明 classAbstractJackson2ViewAbstract base class for Jackson based and content type independentAbstractViewimplementations.classMappingJackson2JsonViewSpring MVCViewthat 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中的类 修饰符和类型 类 说明 classScriptTemplateViewAnAbstractUrlBasedViewsubclass designed to run any template library based on a JSR-223 script engine.classScriptTemplateViewResolverConvenience subclass ofUrlBasedViewResolverthat supportsScriptTemplateViewand custom subclasses of it.org.springframework.web.servlet.view.tiles3中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.tiles3中的类 修饰符和类型 类 说明 classTilesConfigurerHelper class to configure Tiles 3.x for the Spring Framework.classTilesViewViewimplementation that renders through the Tiles Request API.classTilesViewResolverConvenience subclass ofUrlBasedViewResolverthat supportsTilesView(i.e.org.springframework.web.servlet.view.xml中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.servlet.view.xml中的类 修饰符和类型 类 说明 classMappingJackson2XmlViewSpring MVCViewthat renders XML content by serializing the model for the current request using Jackson 2'sXmlMapper.classMarshallingViewSpring-MVCViewthat 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中的类 修饰符和类型 类 说明 classXsltViewXSLT-driven View that allows for response context to be rendered as the result of an XSLT transformation.classXsltViewResolverViewResolverimplementation that resolves instances ofXsltViewby 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中的类 修饰符和类型 类 说明 classJettyRequestUpgradeStrategyARequestUpgradeStrategyfor use with Jetty 9.4.org.springframework.web.socket.server.standard中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.socket.server.standard中的类 修饰符和类型 类 说明 classServerEndpointExporterDetects beans of typeServerEndpointConfigand registers with the standard Java WebSocket runtime.classServletServerContainerFactoryBeanAFactoryBeanfor configuringServerContainer.org.springframework.web.socket.server.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.socket.server.support中的类 修饰符和类型 类 说明 classDefaultHandshakeHandlerA defaultHandshakeHandlerimplementation, extendingAbstractHandshakeHandlerwith Servlet-specific initialization support.classWebSocketHandlerMappingAn extension ofSimpleUrlHandlerMappingthat is also aSmartLifecyclecontainer and propagates start and stop calls to any handlers that implementLifecycle.classWebSocketHttpRequestHandlerAHttpRequestHandlerfor processing WebSocket handshake requests.org.springframework.web.socket.sockjs.support中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.socket.sockjs.support中的类 修饰符和类型 类 说明 classSockJsHttpRequestHandlerAnHttpRequestHandlerthat allows mapping aSockJsServiceto requests in a Servlet container.org.springframework.web.socket.sockjs.transport.handler中ServletContextAware的使用
实现ServletContextAware的org.springframework.web.socket.sockjs.transport.handler中的类 修饰符和类型 类 说明 classDefaultSockJsServiceA default implementation ofSockJsServicewith all defaultTransportHandlerimplementations pre-registered.classWebSocketTransportHandlerWebSocket-basedTransportHandler.