Package com.github.mizosoft.methanol
package com.github.mizosoft.methanol
-
ClassDescriptionA group of
adapters(encoders&decoders), typically targeting different mapping schemes, that facilitates creating correspondingHttpRequest.BodyPublisher,HttpResponse.BodyHandlerandHttpResponse.BodySubscriberimplementations.A builder ofAdapterCodecinstances.An object that converts objects to or from request or response bodies respectively, using a defined format.ABodyAdapterthat decodes response bodies into objects.ABodyAdapterthat encodes objects into request bodies.A collection of hints that provide additional context to customize an adapter's encoding/decoding behavior.A builder ofHintobjects.BodyDecoder<T>AHttpResponse.BodySubscriberthat decodes the response body for consumption by a downstream subscriber.A factory ofBodyDecoderinstances for some defined encoding.ATrackedResponsethat knows it may have been generated from an HTTP cache.The status of an attempt to retrieve an HTTP response from cache.A group of cache directives.A builder ofCacheControlinstances, with explicit directive setters for request cache directives.ABodyPublisherfor form submission using theapplication/x-www-form-urlencodedrequest type.A builder ofFormBodyPublisherinstances.HeadersAccumulator<T extends HeadersAccumulator<T>>An accumulator of header name-value pairs.A builder ofHttpCaches.A listener to request/response & read/write events within the cache.Statistics of anHttpCache.Strategy for recodingHttpCachestatistics.Thrown when all response headers aren't received within a timeout.Thrown when a body subscriber doesn't receive a requested signal within a timeout.Thrown when aRetryInterceptorexhausts maximum retries.Static functions for checking response status codes.A MIME type.AnHttpClientwith interceptors, request decoration, HTTP caching and reactive extensions.Methanol.BaseBuilder<B extends Methanol.BaseBuilder<B>>A baseMethanolbuilder allowing to set the non-standard properties.A builder ofMethanolinstances.An object that intercepts requests before being sent and responses before being returned.An object that gives interceptors the ability to relay requests to sibling interceptors, till eventually being sent by the client's backend.A builder forMethanolinstances with a pre-specified backendHttpClient.ABodyPublisherwith a media type.Static factories for additionalHttpResponse.BodyHandlerimplementations.Static factories for additionalHttpRequest.BodyPublisherimplementations.Static factories for additionalHttpResponse.BodySubscriberimplementations.ABodyPublisherfor multipart bodies.A builder ofMultipartBodyPublisherinstances.A part in a multipart request body.A mutableHttpRequestthat supportstags, relative URIs&setting arbitrary objects as request bodies.A progress tracker for upload and download operations.A builder ofProgressTrackers.A listener ofprogress events.A progress event for a multipart body with per-part progress info.A progress event.A builder ofHttpResponseinstances.A response body that is yet to be handled into the desirable type.An interceptor that retries HTTP requests based on configurable conditions.A strategy for backing off (delaying) before a retry.A builder ofRetryInterceptorinstances.Context for deciding whether an HTTP call should be retried.A listener forRetryInterceptorevents.An extension that provides a storage backend for anHttpCache.AnHttpRequestthat can carry arbitrary values, referred to as tags.AnHttpRequest.Builderthat allows attaching tags.A response with recorded send/receive timestamps.TypeRef<T>ABodyPublisherthat allows streaming the body's content through anOutputStreamor aWritableByteChannel.