Package net.shibboleth.utilities.java.support.net
package net.shibboleth.utilities.java.support.net
Classes for working with HTTP URLs and the protocol.
-
ClassDescriptionImplementation of an HTTP servlet
Filterwhich wraps theHttpServletResponseviaCookieBufferingFilter.CookieBufferingHttpServletResponseProxyto ensure that only a single cookie of a given name is set.A helper class for managing one or more cookies on behalf of a component.Implementation of an HTTP servletFilterwhich supports configurable response header injection, including via injected functions that can conditionally attach headers.Class which holds and makes available the current HTTP servlet request and response via ThreadLocal storage.Utilities for working with HTTP Servlet requests and responses.Represents a range of IP addresses.Support methods for GuavaMediaType.Implementation of an HTTP servletFilterwhich stores the currentHttpServletRequestandHttpServletResponsebeing serviced on thread-local storage via the use of holder classHttpServletRequestResponseContext.Implementation of an HTTP servletFilterwhich adds the SameSite attribute to cookies, until the Java API supports it natively, if ever.The allowed same-site cookie attribute values.This class performs simple canonicalization of a URL as follows: The scheme is lower-cased. The hostname is lower-cased The port is removed if it is the default port registered for the schemeSimple function to strip the parameters from aMediaType.Deprecated, for removal: This API element is subject to removal in a future version.An implementation ofNonnullSupplierofHttpServletRequests which looks up the current thread-local servlet request obtained fromHttpServletRequestResponseContext.Deprecated, for removal: This API element is subject to removal in a future version.An implementation ofNonnullSupplierofHttpServletResponses which looks up the current thread-local servlet response obtained fromHttpServletRequestResponseContext.Component for testing URI's as to equality.Exception related to processing or using a URI.Helper methods for buildingURIs and parsing some HTTP URL information.Utility class for building URLs.