Class WrappedPayloadSupport


  • public class WrappedPayloadSupport
    extends java.lang.Object
    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.

    • Method Detail

      • payloadBuilder

        public ContainerFormats.Payload.Builder payloadBuilder​(java.lang.Object input)
        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.

        Parameters:
        input - (undocumented)
        Returns:
        (undocumented)