Class GlobalMarshallerEncoder

  • All Implemented Interfaces:

    public class GlobalMarshallerEncoder
    extends MarshallerEncoder
    Encoder that uses the GlobalMarshaller to encode/decode data.
    • Constructor Detail

      • GlobalMarshallerEncoder

        public GlobalMarshallerEncoder​(Marshaller globalMarshaller)
    • Method Detail

      • getStorageFormat

        public MediaType getStorageFormat()
        Description copied from interface: Encoder
        Returns the MediaType produced by this encoder or null if the storage format is not known.
      • id

        public short id()
        Description copied from interface: Encoder
        Each encoder is associated with an unique id in order to optimize serialization. Known ids are kept in EncoderIds.
        unique identifier for this encoder