Uses of Interface
com.github.mizosoft.methanol.BodyAdapter.Hints
Packages that use BodyAdapter.Hints
Package
Description
-
Uses of BodyAdapter.Hints in com.github.mizosoft.methanol
Methods in com.github.mizosoft.methanol that return BodyAdapter.HintsModifier and TypeMethodDescriptionBodyAdapter.Hints.Builder.build()Returns a newHintsobject containing the hints added so far.static BodyAdapter.HintsBodyAdapter.Hints.empty()Returns aHintsobject containing no hints.MutableRequest.hints()abstract BodyAdapter.HintsTaggableRequest.hints()Returns this request'sBodyAdapter.Hints.static BodyAdapter.HintsReturns aHintsobject containing the given media type.Methods in com.github.mizosoft.methanol with parameters of type BodyAdapter.HintsModifier and TypeMethodDescription<T> HttpResponse.BodyHandler<Supplier<T>> AdapterCodec.deferredHandlerOf(TypeRef<T> typeRef, BodyAdapter.Hints hints) Returns aBodyHandlerthat lazily decodes the response body into an object of the given type.<T> HttpResponse.BodySubscriber<Supplier<T>> AdapterCodec.deferredSubscriberOf(TypeRef<T> typeRef, BodyAdapter.Hints hints) Returns aHttpResponse.BodySubscriberthat lazily decodes the response body into an object of the given type.<T> HttpResponse.BodyHandler<T> AdapterCodec.handlerOf(TypeRef<T> typeRef, BodyAdapter.Hints hints) Returns aHttpResponse.BodyHandlerthat decodes the response body into an object of the given type.AdapterCodec.publisherOf(T value, BodyAdapter.Hints hints) Returns aHttpRequest.BodyPublisherthat encodes the given object into a request body.AdapterCodec.publisherOf(T value, TypeRef<T> typeRef, BodyAdapter.Hints hints) Returns aHttpRequest.BodyPublisherthat encodes the given object into a request body with respect to the givenTypeRef.<T> HttpResponse.BodySubscriber<T> AdapterCodec.subscriberOf(TypeRef<T> typeRef, BodyAdapter.Hints hints) Returns aHttpResponse.BodySubscriberthat decodes the response body into an object of the given type.default <T> HttpRequest.BodyPublisherBodyAdapter.Encoder.toBody(T value, TypeRef<T> typeRef, BodyAdapter.Hints hints) Returns aHttpRequest.BodyPublisherthat encodes the given object into a request body based on the givenTypeRef, using the given hintsBodyAdapter.Hintsfor encoder-specific customization.default <T> HttpResponse.BodySubscriber<Supplier<T>> BodyAdapter.Decoder.toDeferredObject(TypeRef<T> typeRef, BodyAdapter.Hints hints) Returns a completedHttpResponse.BodySubscriberthat lazily decodes the response body into an object of the given type using the givenBodyAdapter.Hints.default <T> HttpResponse.BodySubscriber<T> BodyAdapter.Decoder.toObject(TypeRef<T> typeRef, BodyAdapter.Hints hints) Returns aHttpResponse.BodySubscriberthat decodes the response body into an object of the given type using the givenBodyAdapter.Hints. -
Uses of BodyAdapter.Hints in com.github.mizosoft.methanol.adapter
Methods in com.github.mizosoft.methanol.adapter with parameters of type BodyAdapter.HintsModifier and TypeMethodDescriptionprotected voidAbstractBodyAdapter.requireSupport(TypeRef<?> typeRef, BodyAdapter.Hints hints) Requires that this adaptersupportsthe given type andis compatible withthe given hints' media type, if any.AbstractBodyAdapter.BaseEncoder.toBody(T value, TypeRef<T> typeRef, BodyAdapter.Hints hints) ForwardingEncoder.toBody(T value, TypeRef<T> typeRef, BodyAdapter.Hints hints) default <T> HttpResponse.BodySubscriber<Supplier<T>> AbstractBodyAdapter.BaseDecoder.toDeferredObject(TypeRef<T> typeRef, BodyAdapter.Hints hints) Returns a completedHttpResponse.BodySubscriberthat lazily decodes the response body into an object of the given type using the givenBodyAdapter.Hints.<T> HttpResponse.BodySubscriber<Supplier<T>> ForwardingDecoder.toDeferredObject(TypeRef<T> typeRef, BodyAdapter.Hints hints) <T> HttpResponse.BodySubscriber<T> AbstractBodyAdapter.BaseDecoder.toObject(TypeRef<T> typeRef, BodyAdapter.Hints hints) <T> HttpResponse.BodySubscriber<T> ForwardingDecoder.toObject(TypeRef<T> typeRef, BodyAdapter.Hints hints) -
Uses of BodyAdapter.Hints in com.github.mizosoft.methanol.internal
Methods in com.github.mizosoft.methanol.internal that return BodyAdapter.Hints