Interface CodecConfigurer.DefaultCodecs

    • Method Detail

      • jaxb2Encoder

        void jaxb2Encoder​(Encoder<?> encoder)
        Override the default JABX2 Encoder.
        Parameters:
        encoder - the encoder instance to use
        Since:
        5.1.3
        See Also:
        Jaxb2XmlEncoder
      • maxInMemorySize

        void maxInMemorySize​(int byteCount)
        Configure a limit on the number of bytes that can be buffered whenever the input stream needs to be aggregated. This can be a result of decoding to a single DataBuffer, ByteBuffer, byte[], Resource, String, etc. It can also occur when splitting the input stream, e.g. delimited text, in which case the limit applies to data buffered between delimiters.

        By default this is not set, in which case individual codec defaults apply. All codecs are limited to 256K by default.

        Parameters:
        byteCount - the max number of bytes to buffer, or -1 for unlimited
        Since:
        5.1.11
      • 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