Class WrappedPayloadSupport$


  • public class WrappedPayloadSupport$
    extends java.lang.Object
    • Field Detail

      • MODULE$

        public static final WrappedPayloadSupport$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • WrappedPayloadSupport$

        public WrappedPayloadSupport$()
    • Method Detail

      • payloadBuilder

        public ContainerFormats.Payload.Builder payloadBuilder​(java.lang.Object input,
                                                               Serialization serialization,
                                                               LoggingAdapter log)
        Serialize the input along with its manifest and serializerId.

        If input is a Throwable and can't be serialized because Java serialization is disabled it will fallback to ThrowableNotSerializableException.