接口的使用
org.springframework.context.EnvironmentAware
使用EnvironmentAware的程序包 程序包 说明 org.springframework.context.annotation Annotation support for the Application Context, including JSR-250 "common" annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.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.filter Provides generic filter base classes allowing for bean-style configuration.org.springframework.web.multipart.support Support classes for the multipart resolution framework.org.springframework.web.servlet Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework.org.springframework.web.servlet.resource Support classes for serving static resources.org.springframework.context.annotation中EnvironmentAware的使用
实现EnvironmentAware的org.springframework.context.annotation中的类 修饰符和类型 类 说明 classConfigurationClassPostProcessorBeanFactoryPostProcessorused for bootstrapping processing of@Configurationclasses.classMBeanExportConfiguration@Configurationclass that registers aAnnotationMBeanExporterbean.org.springframework.context.support中EnvironmentAware的使用
实现EnvironmentAware的org.springframework.context.support中的类 修饰符和类型 类 说明 classPropertySourcesPlaceholderConfigurerSpecialization ofPlaceholderConfigurerSupportthat resolves ${...} placeholders within bean definition property values and@Valueannotations against the current SpringEnvironmentand its set ofPropertySources.org.springframework.orm.hibernate5.support中EnvironmentAware的使用
实现EnvironmentAware的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中EnvironmentAware的使用
实现EnvironmentAware的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.filter中EnvironmentAware的使用
实现EnvironmentAware的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.support中EnvironmentAware的使用
实现EnvironmentAware的org.springframework.web.multipart.support中的类 修饰符和类型 类 说明 classMultipartFilterServlet Filter that resolves multipart requests via aMultipartResolver.org.springframework.web.servlet中EnvironmentAware的使用
实现EnvironmentAware的org.springframework.web.servlet中的类 修饰符和类型 类 说明 classDispatcherServletCentral dispatcher for HTTP request handlers/controllers, e.g. for web UI controllers or HTTP-based remote service exporters.classFrameworkServletBase servlet for Spring's web framework.classHttpServletBeanSimple extension ofHttpServletwhich treats its config parameters (init-paramentries within theservlettag inweb.xml) as bean properties.org.springframework.web.servlet.resource中EnvironmentAware的使用
实现EnvironmentAware的org.springframework.web.servlet.resource中的类 修饰符和类型 类 说明 classResourceUrlEncodingFilterA filter that wraps theHttpServletResponseand overrides itsencodeURLmethod in order to translate internal resource request URLs into public URL paths for external use.