Package org.springframework.web.util
Miscellaneous web utility classes, such as HTML escaping, Log4j initialization, and cookie handling.
Interface Summary Interface Description UriComponents.UriTemplateVariables Defines the contract for URI Template variablesUriTemplateHandler Strategy for expanding a URI template with full control over the URI template syntax and the encoding of variables.Class Summary Class Description AbstractUriTemplateHandler Abstract base class forUriTemplateHandler
implementations.ContentCachingRequestWrapper HttpServletRequest
wrapper that caches all content read from the input stream and reader, and allows this content to be retrieved via abyte array
.ContentCachingResponseWrapper HttpServletResponse
wrapper that caches all content written to the output stream and writer, and allows this content to be retrieved via abyte array
.CookieGenerator Helper class for cookie generation, carrying cookie descriptor settings as bean properties and being able to add and remove cookie to/from a given response.DefaultUriTemplateHandler Default implementation ofUriTemplateHandler
based on the use ofUriComponentsBuilder
for expanding and encoding variables.HtmlUtils Utility class for HTML escaping.HttpSessionMutexListener Servlet HttpSessionListener that automatically exposes the session mutex when an HttpSession gets created.IntrospectorCleanupListener Listener that flushes the JDK'sJavaBeans Introspector
cache on web app shutdown.JavaScriptUtils Utility class for JavaScript escaping.Log4jConfigListener Deprecated. as of Spring 4.2.1, in favor of Apache Log4j 2 (following Apache's EOL declaration for log4j 1.x)Log4jWebConfigurer Deprecated. as of Spring 4.2.1, in favor of Apache Log4j 2 (following Apache's EOL declaration for log4j 1.x)ServletContextPropertyUtils Helper class for resolving placeholders in texts.TagUtils Utility class for tag library related code, exposing functionality such as translatingStrings
to web scopes.UriComponents Represents an immutable collection of URI components, mapping component type to String values.UriComponentsBuilder Builder forUriComponents
.UriTemplate Representation of a URI template that can be expanded with URI variables viaUriTemplate.expand(Map)
,UriTemplate.expand(Object[])
, or matched to a URL viaUriTemplate.match(String)
.UriUtils Utility class for URI encoding and decoding based on RFC 3986.UrlPathHelper Helper class for URL path matching.WebAppRootListener Listener that sets a system property to the web application root directory.WebUtils Miscellaneous utilities for web applications.Exception Summary Exception Description NestedServletException Subclass ofServletException
that properly handles a root cause in terms of message and stacktrace, just like NestedChecked/RuntimeException does.