@API(status=STABLE) public final class Types extends Object
Modifier and Type | Method and Description |
---|---|
static <T> com.google.common.reflect.TypeToken<List<T>> |
listOf(Class<T> entityType) |
static <T> com.google.common.reflect.TypeToken<List<T>> |
listOf(com.google.common.reflect.TypeToken<T> entityType) |
static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> |
responseEntityOf(Class<T> entityType) |
static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> |
responseEntityOf(com.google.common.reflect.TypeToken<T> entityType) |
public static <T> com.google.common.reflect.TypeToken<List<T>> listOf(com.google.common.reflect.TypeToken<T> entityType)
public static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> responseEntityOf(Class<T> entityType)
public static <T> com.google.common.reflect.TypeToken<org.springframework.http.ResponseEntity<T>> responseEntityOf(com.google.common.reflect.TypeToken<T> entityType)
Copyright © 2015–2018 Zalando SE. All rights reserved.