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
Filter
which wraps theHttpServletResponse
viaCookieBufferingFilter.CookieBufferingHttpServletResponseProxy
to 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 servletFilter
which 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 servletFilter
which stores the currentHttpServletRequest
andHttpServletResponse
being serviced on thread-local storage via the use of holder classHttpServletRequestResponseContext
.Implementation of an HTTP servletFilter
which 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
.An implementation ofHttpServletRequest
which serves as a proxy for the current thread-local servlet request obtained fromHttpServletRequestResponseContext
.An implementation ofHttpServletResponse
which serves as a proxy for 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 buildingURI
s and parsing some HTTP URL information.Utility class for building URLs.