S - public class DataParser<S extends CafetData> extends AbstractParser<DataResult<S>>
CLASS_DECODER, TYPE| Constructor and Description |
|---|
DataParser(Class<S> classOfS) |
| Modifier and Type | Method and Description |
|---|---|
DataResult<S> |
parse(HTTPResponse response) |
static <T extends CafetData> |
parseResponse(HTTPResponse response,
Class<T> classOfT) |
getClassDecoder, getComputing, parseJsonpublic DataResult<S> parse(HTTPResponse response) throws MissingResultElementException, IllegalResultException
parse in class AbstractParser<DataResult<S extends CafetData>>MissingResultElementExceptionIllegalResultExceptionpublic static <T extends CafetData> DataResult<T> parseResponse(HTTPResponse response, Class<T> classOfT) throws MissingResultElementException, IllegalResultException
Copyright © 2019 Nowtryz. All rights reserved.