Class Types

java.lang.Object
org.zalando.riptide.Types

@API(status=STABLE) public final class Types extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T> com.google.common.reflect.TypeToken<List<T>>
    listOf(com.google.common.reflect.TypeToken<T> entityType)
     
    static <T> com.google.common.reflect.TypeToken<List<T>>
    listOf(Class<T> entityType)
     
    static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>>
    responseEntityOf(com.google.common.reflect.TypeToken<T> entityType)
     
    static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>>
    responseEntityOf(Class<T> entityType)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • listOf

      public static <T> com.google.common.reflect.TypeToken<List<T>> listOf(Class<T> entityType)
    • listOf

      public static <T> com.google.common.reflect.TypeToken<List<T>> listOf(com.google.common.reflect.TypeToken<T> entityType)
    • responseEntityOf

      public static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> responseEntityOf(Class<T> entityType)
    • responseEntityOf

      public static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> responseEntityOf(com.google.common.reflect.TypeToken<T> entityType)