public static interface CodecConfigurer.CustomCodecs
| Modifier and Type | Method and Description |
|---|---|
void |
decoder(Decoder<?> decoder)
Add a custom
Decoder internally wrapped with
DecoderHttpMessageReader). |
void |
encoder(Encoder<?> encoder)
Add a custom
Encoder, internally wrapped with
EncoderHttpMessageWriter. |
void |
reader(HttpMessageReader<?> reader)
Add a custom
HttpMessageReader. |
void |
writer(HttpMessageWriter<?> writer)
Add a custom
HttpMessageWriter. |
void decoder(Decoder<?> decoder)
Decoder internally wrapped with
DecoderHttpMessageReader).decoder - the decoder to addvoid encoder(Encoder<?> encoder)
Encoder, internally wrapped with
EncoderHttpMessageWriter.encoder - the encoder to addvoid reader(HttpMessageReader<?> reader)
HttpMessageReader. For readers of type
DecoderHttpMessageReader consider using the shortcut
decoder(Decoder) instead.reader - the reader to addvoid writer(HttpMessageWriter<?> writer)
HttpMessageWriter. For writers of type
EncoderHttpMessageWriter consider using the shortcut
encoder(Encoder) instead.writer - the writer to add