Class BasicAdapter
java.lang.Object
com.github.mizosoft.methanol.adapter.AbstractBodyAdapter
com.github.mizosoft.methanol.internal.adapter.BasicAdapter
- All Implemented Interfaces:
BodyAdapter
An adapter for basic types (e.g.,
String, byte[]).-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractBodyAdapter
AbstractBodyAdapter.BaseDecoder, AbstractBodyAdapter.BaseEncoderNested classes/interfaces inherited from interface BodyAdapter
BodyAdapter.Decoder, BodyAdapter.Encoder, BodyAdapter.Hints -
Method Summary
Modifier and TypeMethodDescriptionstatic BodyAdapter.Decoderdecoder()static BodyAdapter.Encoderencoder()Methods inherited from class AbstractBodyAdapter
attachMediaType, charsetOrDefault, charsetOrUtf8, compatibleMediaTypes, isCompatibleWith, requireCompatibleOrNull, requireSupport, requireSupport, requireSupportMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BodyAdapter
supportsType
-
Method Details
-
encoder
-
decoder
-