Module methanol
Package com.github.mizosoft.methanol.adapter
-
Interface Summary Interface Description AbstractBodyAdapter.BaseDecoder This 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.AbstractBodyAdapter.BaseEncoder This 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. -
Class Summary Class Description AbstractBodyAdapter An abstractBodyAdapterthat implementsBodyAdapter.isCompatibleWith(MediaType)by allowing subclasses to specify a set ofMediaTypesthe adapter is compatible with.ForwardingBodyAdapter ABodyAdapterthat forwards calls to another.ForwardingDecoder ABodyAdapter.Decoderthat forwards calls to another.ForwardingEncoder AnBodyAdapter.Encoderthat forwards calls to another.