接口 CodecConfigurer

    • 方法详细资料

      • registerDefaults

        void registerDefaults​(boolean registerDefaults)
        Provides a way to completely turn off registration of default HTTP message readers and writers, and instead rely only on the ones provided via customCodecs().

        By default this is set to "true" in which case default registrations are made; setting this to false disables default registrations.

      • clone

        CodecConfigurer clone()
        Create a copy of this CodecConfigurer. The returned clone has its own lists of default and custom codecs and generally can be configured independently. Keep in mind however that codec instances (if any are configured) are themselves not cloned.
        从以下版本开始:
        5.1.12