Package org.springframework.web.util
Miscellaneous web utility classes, such as HTML escaping, Log4j initialization, and cookie handling.
Interface Summary Interface Description UriBuilder Builder-style methods to prepare and expand a URI template with variables.UriBuilderFactory Factory to createUriBuilderinstances with shared configuration such as a base URI, an encoding mode strategy, and others across all URI builder instances created through a factory.UriComponents.UriTemplateVariables Defines the contract for URI Template variables.UriTemplateHandler Defines methods for expanding a URI template with variables.Class Summary Class Description AbstractUriTemplateHandler Deprecated. as of 5.0 in favor ofDefaultUriBuilderFactoryContentCachingRequestWrapper HttpServletRequestwrapper that caches all content read from the input stream and reader, and allows this content to be retrieved via abyte array.ContentCachingResponseWrapper HttpServletResponsewrapper 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.DefaultUriBuilderFactory UriBuilderFactorythat relies onUriComponentsBuilderfor the actual building of the URI.DefaultUriTemplateHandler Deprecated. as of 5.0 in favor ofDefaultUriBuilderFactory.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 Introspectorcache on web app shutdown.JavaScriptUtils Utility class for JavaScript escaping.ServletContextPropertyUtils Helper class for resolving placeholders in texts.TagUtils Utility class for tag library related code, exposing functionality such as translatingStringsto 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 methods 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.Enum Summary Enum Description DefaultUriBuilderFactory.EncodingMode Enum to represent multiple URI encoding strategies.Exception Summary Exception Description NestedServletException Subclass ofServletExceptionthat properly handles a root cause in terms of message and stacktrace, just like NestedChecked/RuntimeException does.