org.springframework.http.codec

Interface CodecConfigurer.DefaultCodecs

    • Method Detail

      • jackson2JsonDecoder

        void jackson2JsonDecoder(Decoder<?> decoder)
        Override the default Jackson JSON Decoder.
        Parameters:
        decoder - the decoder instance to use
        See Also:
        Jackson2JsonDecoder
      • jackson2JsonEncoder

        void jackson2JsonEncoder(Encoder<?> encoder)
        Override the default Jackson JSON Encoder.
        Parameters:
        encoder - the encoder instance to use
        See Also:
        Jackson2JsonEncoder
      • protobufDecoder

        void protobufDecoder(Decoder<?> decoder)
        Override the default Protobuf Decoder.
        Parameters:
        decoder - the decoder instance to use
        Since:
        5.1
        See Also:
        ProtobufDecoder
      • enableLoggingRequestDetails

        void enableLoggingRequestDetails(boolean enable)
        Whether to log form data at DEBUG level, and headers at TRACE level. Both may contain sensitive information.

        By default set to false so that request details are not shown.

        Parameters:
        enable - whether to enable or not
        Since:
        5.1