public interface ResponseParser<T>
| Modifier and Type | Method and Description |
|---|---|
default T |
getFallback(HTTPClient client,
Request request) |
T |
parse(HTTPClient client,
Request request,
int responseCode,
InputStream stream,
Map<String,List<String>> headers,
String contentType,
String charset) |
T parse(HTTPClient client, Request request, int responseCode, InputStream stream, Map<String,List<String>> headers, String contentType, String charset) throws IOException
IOExceptiondefault T getFallback(HTTPClient client, Request request) throws IOException
IOExceptionCopyright © 2019. All rights reserved.