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