Uses of Package
io.meeds.commons.http
Packages that use io.meeds.commons.http
-
Classes in io.meeds.commons.http used by io.meeds.commons.httpClassDescriptionResolves a host name to its addresses, for
SafeAddressGuard: the JDK's resolver in production, a table in the tests.Decides which URLs the platform may be made to read on a user's or a sender's behalf, and which addresses it may connect to.A URLSafeHttpFetcherread nothing usable from, with theSafeFetchFailuresaying why and, for an error status, the status.WhySafeHttpFetcherread nothing usable from a URL.What aSafeHttpFetchermay read and how far it goes: the schemes and ports a URL may use, whether internal addresses may be reached at all, the content types accepted, the most bytes read, the most redirects followed, the timeouts, and the HTTP client's own bounds.Builds aSafeFetchPolicy, starting from the defaults and refusing what no policy may hold: a scheme the HTTP client does not speak, a port outside 1-65535, a non-positive limit or timeout, a timeout over an hour.One read of a URL bySafeHttpFetcher: a GET, with the headers it sends and how it narrows the fetcher'sSafeFetchPolicy.WhatSafeHttpFetcherread from a URL: a 2xx answer with its body, or a 304 to a conditional read.