Class ThreadLocalMimeBodyPartRecorder

  • All Implemented Interfaces:
    MimeBodyPartRecorder

    public class ThreadLocalMimeBodyPartRecorder
    extends Object
    implements MimeBodyPartRecorder
    This implementation relies on a ThreadLocal to keep track of embeddable images.

    A single instance can be distributed amongst the application under the downside of having to track in the same thread as the caller of record.

    If the log level is set to debug, this implementation will perform a check for binary equality of DataSources with the same name.

    Since:
    5.4