Class TypeReference<T>

java.lang.Object
com.symphony.bdk.http.api.util.TypeReference<T>
Type Parameters:
T - the type reference parameter.

public abstract class TypeReference<T> extends Object
Represents a response entity type reference T. Supports in-line instantiation of objects that represent generic types with actual type parameters. An object that represents any parameterized type may be obtained by sub-classing GenericClass.
  • Constructor Details

    • TypeReference

      public TypeReference()
  • Method Details

    • getType

      public Type getType()
      Get type represented by the type reference instance.
      Returns:
      Type represented by the type reference instance.