程序包 cn.taketoday.web.util
@NonNullApi
@NonNullFields
package cn.taketoday.web.util
Miscellaneous web utility classes, such as HTML escaping,
Log4j initialization, and cookie handling.
-
类说明Abstract base class for
UriTemplateHandlerimplementations.UriBuilderFactorythat relies onUriComponentsBuilderfor the actual building of the URI.Enum to represent multiple URI encoding strategies.Default implementation ofUriTemplateHandlerbased on the use ofUriComponentsBuilderfor expanding and encoding variables.Utility class to assist with processing "Forwarded" and "X-Forwarded-*" headers.Extension ofUriComponentsfor hierarchical URIs.Represents a path backed by a String.Defines the contract for path (segments).Represents a collection of PathComponents.Represents a path backed by a String list (i.e. path segments).Enumeration used to identify the allowed characters per URI component.Helper for decoding HTML Strings by replacing character entity references with the referred character.Represents a set of character entity references defined by the HTML 4.0 standard.Utility class for HTML escaping.Utility class for JavaScript escaping.Extension ofUriComponentsfor opaque URIs.Builder-style methods to prepare and expand a URI template with variables.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.Represents an immutable collection of URI components, mapping component type to String values.URI template variables backed by a map.Defines the contract for URI Template variables.URI template variables backed by a variable argument array.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).Helper to extract variable names and regex for matching to actual URLs.Defines methods for expanding a URI template with variables.Utility methods for URI encoding and decoding based on RFC 3986.WebSessionListener that automatically exposes the session mutex when an WebSession gets created.The mutex to be registered.RuntimeHintsRegistrarimplementation that registers resource hints for web util resources.Miscellaneous utilities for web applications.