Class BodyOf<T>

java.lang.Object
me.ehp246.aufjms.api.jms.BodyOf<T>

public final class BodyOf<T> extends Object
Provides typing information to serialize and de-serialize JSON payload.

Supports Collection types, e.g., Set and List. Not Map.

Since:
2.1
Author:
Lei Yang
  • Field Details

  • Constructor Details

    • BodyOf

      public BodyOf(Class<T> type)
    • BodyOf

      public BodyOf(Class<?> view, Class<?>... reifying)
      At least one type should be specified. Does not accept null's.
  • Method Details

    • first

      public Class<?> first()
    • reifying

      public List<Class<?>> reifying()
      Should have at least one type. Non-modifiable.
    • view

      public Class<?> view()