@NonNullApi @NonNullFields package org.springframework.web.util
Miscellaneous web utility classes, such as HTML escaping, Log4j initialization, and cookie handling.
HttpServletRequestwrapper that caches all content read from the input stream and reader, and allows this content to be retrieved via a
HttpServletResponsewrapper that caches all content written to the output stream and writer, and allows this content to be retrieved via a
byte array.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.
UriBuilderFactorythat relies on
UriComponentsBuilderfor the actual building of the URI.Enum to represent multiple URI encoding strategies.Utility class for HTML escaping.Servlet HttpSessionListener that automatically exposes the session mutex when an HttpSession gets created.Listener that flushes the JDK's
ServletExceptionthat properly handles a root cause in terms of message and stacktrace, just like NestedChecked/RuntimeException does.Helper class for resolving placeholders in texts.Utility class to assist with preparation and access to the lookup path for request mapping purposes.Utility class for tag library related code, exposing functionality such as translating
Stringsto web scopes.Builder-style methods to prepare and expand a URI template with variables.Factory to create
UriBuilderinstances with shared configuration such as a base URI, an encoding mode strategy, and others across all URI builder instances created through a factory.Represents an immutable collection of URI components, mapping component type to String values.Defines the contract for URI Template variables.Builder for
UriComponents.Representation of a URI template that can be expanded with URI variables via
UriTemplate.expand(Object), or matched to a URL via
UriTemplate.match(String).Defines methods for expanding a URI template with variables.Utility methods for URI encoding and decoding based on RFC 3986.Helper class for URL path matching.Listener that sets a system property to the web application root directory.Miscellaneous utilities for web applications.