Interface PayloadWriter

All Known Implementing Classes:
FSTPayloadWriter, KryoPayloadWriter, ObjectMapperPayloadWriter

public interface PayloadWriter
Handles the actual details of writing an Object to a byte stream.
  • Method Summary

    Modifier and Type
    Method
    Description
    default byte[]
    write(Object payload)
    Writes the supplied Object payload to a byte array.
    void
    write(Object payload, OutputStream stream)
    Writes the actual response object to the OutputStream.