Uses of Record Class
io.meeds.commons.http.SafeFetchRequest
Packages that use SafeFetchRequest
-
Uses of SafeFetchRequest in io.meeds.commons.http
Methods in io.meeds.commons.http that return SafeFetchRequestModifier and TypeMethodDescriptionstatic SafeFetchRequestA plain GET under the fetcher's policy.SafeFetchRequest.truncatedAtLimit()The same read, a body past the limit cut at it and returned rather than refused.SafeFetchRequest.withAccept(String acceptHeader) The same read with anAcceptheader.SafeFetchRequest.withAcceptedContentTypes(Collection<String> contentTypes) The same read accepting these media types only, within the policy's when the policy names some: a type the policy refuses stays refused.SafeFetchRequest.withMaxBytes(long limit) The same read taking at most this many bytes, or the policy's limit when that is lower.SafeFetchRequest.withValidators(String etag, String lastModified) The same read made conditional on the validators of a previous one; a server answering 304 gives a not-modified response.Methods in io.meeds.commons.http with parameters of type SafeFetchRequestModifier and TypeMethodDescriptionSafeHttpFetcher.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.