public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> CompletableFuture<T> |
completeExceptionally(Throwable t) |
static <T> T |
parseAs(com.fasterxml.jackson.databind.ObjectMapper mapper,
Reader content,
Class<T> klass) |
static <T> T |
parseAs(com.fasterxml.jackson.databind.ObjectMapper mapper,
Reader content,
com.fasterxml.jackson.databind.JavaType type) |
public static <T> T parseAs(com.fasterxml.jackson.databind.ObjectMapper mapper,
Reader content,
Class<T> klass)
throws IOException
IOExceptionpublic static <T> T parseAs(com.fasterxml.jackson.databind.ObjectMapper mapper,
Reader content,
com.fasterxml.jackson.databind.JavaType type)
throws IOException
IOExceptionpublic static <T> CompletableFuture<T> completeExceptionally(Throwable t)
Copyright © 2018. All rights reserved.