Uses of Class
org.springframework.web.filter.OncePerRequestFilter
Packages that use OncePerRequestFilter
Package
Description
Provides generic filter base classes allowing for bean-style configuration.
Support classes for the multipart resolution framework.
-
Uses of OncePerRequestFilter in org.springframework.web.filter
Subclasses of OncePerRequestFilter in org.springframework.web.filterModifier and TypeClassDescriptionclassBase class forFilters that perform logging operations before and after a request is processed.classServlet Filter that allows one to specify a character encoding for requests.classSimple request logging filter that writes the request URI (and optionally the query string) to the Commons Log.classFilterto handle CORS pre-flight requests and intercept CORS simple and actual requests with aCorsProcessor, and to update the response, for example, with CORS response headers, based on the policy matched through the providedCorsConfigurationSource.classFilterthat parses form data for HTTP PUT, PATCH, and DELETE requests and exposes it as Servlet request parameters.classExtract 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).classFilterthat converts posted method parameters into HTTP methods, retrievable viaHttpServletRequest.getMethod().classOverridesHttpServletResponse.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.classServlet Filter that exposes the request to the current thread, through bothLocaleContextHolderandRequestContextHolder.classFilterthat createsobservationsfor HTTP exchanges.classSimple request logging filter that writes the request URI (and optionally the query string) to the ServletContext log.classFilterthat generates anETagvalue based on the content on the response.final classFilterthat modifies the URL, and then redirects or wraps the request to apply the change. -
Uses of OncePerRequestFilter in org.springframework.web.multipart.support
Subclasses of OncePerRequestFilter in org.springframework.web.multipart.supportModifier and TypeClassDescriptionclassServlet Filter that resolves multipart requests via aMultipartResolver.