java.lang.Object
com.github.mizosoft.methanol.AdapterCodec.Builder
- Enclosing class:
AdapterCodec
A builder of
AdapterCodec
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newAdapterCodec
for the added encoders and decoders.decoder
(BodyAdapter.Decoder decoder) Adds the given decoder.encoder
(BodyAdapter.Encoder encoder) Adds the given encoder.
-
Method Details
-
encoder
Adds the given encoder. -
decoder
Adds the given decoder. -
build
Returns a newAdapterCodec
for the added encoders and decoders.
-