Package org.springframework.web.util
@NonNullApi
@NonNullFields
package org.springframework.web.util
Miscellaneous web utility classes, such as HTML escaping and cookie handling.
-
ClassDescription
HttpServletRequest
wrapper that caches all content read from the input stream and reader, and allows this content to be retrieved via abyte array
.HttpServletResponse
wrapper that caches all content written to the output stream and writer, and allows this content to be retrieved via abyte 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.UriBuilderFactory
that relies onUriComponentsBuilder
for 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'sJavaBeans Introspector
cache on web app shutdown.Utility class for JavaScript escaping.Deprecated.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 translatingStrings
to web scopes.Builder-style methods to prepare and expand a URI template with variables.Factory to createUriBuilder
instances 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 forUriComponents
.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)
.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.
ServletException
nesting