Uses of Interface
com.github.mizosoft.methanol.BodyAdapter
Packages that use BodyAdapter
Package
Description
-
Uses of BodyAdapter in com.github.mizosoft.methanol
Subinterfaces of BodyAdapter in com.github.mizosoft.methanolModifier and TypeInterfaceDescriptionstatic interfaceABodyAdapterthat decodes response bodies into objects.static interfaceABodyAdapterthat encodes objects into request bodies. -
Uses of BodyAdapter in com.github.mizosoft.methanol.adapter
Subinterfaces of BodyAdapter in com.github.mizosoft.methanol.adapterModifier and TypeInterfaceDescriptionstatic interfaceThis interface abstracts the more-capableAbstractBodyAdapter.BaseDecoder.toObject(TypeRef, Hints)method and adds a default implementation forAbstractBodyAdapter.BaseDecoder.toObject(TypeRef, MediaType)that forwards to the former.static interfaceThis interface abstracts the more-capableAbstractBodyAdapter.BaseEncoder.toBody(Object, TypeRef, Hints)method and adds a default implementation forAbstractBodyAdapter.BaseEncoder.toBody(Object, MediaType)that forwards to the former.Classes in com.github.mizosoft.methanol.adapter that implement BodyAdapterModifier and TypeClassDescriptionclassAn abstractBodyAdapterthat implementsBodyAdapter.isCompatibleWith(MediaType)by allowing subclasses to specify a set ofMediaTypesthe adapter is compatible with.classABodyAdapterthat forwards calls to another.classABodyAdapter.Decoderthat forwards calls to another.classAnBodyAdapter.Encoderthat forwards calls to another.Methods in com.github.mizosoft.methanol.adapter that return BodyAdapterModifier and TypeMethodDescriptionprotected abstract BodyAdapterForwardingBodyAdapter.delegate()Returns the adapter calls are being forwarded to.protected BodyAdapterForwardingDecoder.delegate() -
Uses of BodyAdapter in com.github.mizosoft.methanol.internal.adapter
Classes in com.github.mizosoft.methanol.internal.adapter that implement BodyAdapterModifier and TypeClassDescriptionclassAn adapter for basic types (e.g.,String,byte[]).