Uses of Class
io.meeds.commons.http.SafeFetchException
Packages that use SafeFetchException
-
Uses of SafeFetchException in io.meeds.commons.http
Methods in io.meeds.commons.http that throw SafeFetchExceptionModifier and TypeMethodDescriptionSafeAddressGuard.checkTarget(URI uri) Checks the shape of a URL about to be read — the one given, or the target of a redirect: absolute, an allowed scheme, no credentials, a host, an allowed port, not too long, no white space or control character; and, when the host is an IP literal, the address it names, under the same rules asSafeAddressGuard.resolveAllowed(java.lang.String).SafeHttpFetcher.fetch(SafeFetchRequest request) Reads a URL, following redirects within the policy's count, each target checked by the guard before it is requested and judged again by the resolver when its connection opens.Reads a URL with a plain GET under the policy.Reads a URL as it was given: trimmed, the fragment dropped, then checked bySafeAddressGuard.checkTarget(java.net.URI).