接口 EntityWriter<E,T>

类型参数:
E - entity type
T - target stream type
所有已知子接口:
RequestEntityWriter<E,T>, ResponseEntityWriter<E,T>

public interface EntityWriter<E,T>
A universal interface for publishing entities to a target stream.
从以下版本开始:
1.4.0
作者:
Eric Zhao
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    writeTo(E entity, T target)
    Write the provided entity to target stream.
  • 方法详细资料

    • writeTo

      void writeTo(E entity, T target)
      Write the provided entity to target stream.
      参数:
      entity - entity to publish
      target - the target stream