Class MessagePayloadFactoryImpl

  • All Implemented Interfaces:
    org.apache.pulsar.client.api.MessagePayloadFactory

    public class MessagePayloadFactoryImpl
    extends java.lang.Object
    implements org.apache.pulsar.client.api.MessagePayloadFactory
    • Field Summary

      • Fields inherited from interface org.apache.pulsar.client.api.MessagePayloadFactory

        DEFAULT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.pulsar.client.api.MessagePayload wrap​(byte[] bytes)  
      org.apache.pulsar.client.api.MessagePayload wrap​(java.nio.ByteBuffer buffer)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessagePayloadFactoryImpl

        public MessagePayloadFactoryImpl()
    • Method Detail

      • wrap

        public org.apache.pulsar.client.api.MessagePayload wrap​(byte[] bytes)
        Specified by:
        wrap in interface org.apache.pulsar.client.api.MessagePayloadFactory
      • wrap

        public org.apache.pulsar.client.api.MessagePayload wrap​(java.nio.ByteBuffer buffer)
        Specified by:
        wrap in interface org.apache.pulsar.client.api.MessagePayloadFactory