| Package | Description |
|---|---|
| dev.codeflush.httpclient | |
| dev.codeflush.httpclient.client | |
| dev.codeflush.httpclient.parser | |
| dev.codeflush.httpclient.request |
| Modifier and Type | Method and Description |
|---|---|
HTTPClient |
Response.getClient() |
| Constructor and Description |
|---|
Response(HTTPClient client,
Request request,
ResponseParser<? extends T> parser,
int responseCode,
Map<String,List<String>> headers,
String contentType,
String contentTypeCharset,
T value) |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleHTTPClient |
| Modifier and Type | Method and Description |
|---|---|
default T |
ResponseParser.getFallback(HTTPClient client,
Request request) |
String |
StringResponseParser.parse(HTTPClient client,
Request request,
int responseCode,
InputStream stream,
Map<String,List<String>> headers,
String contentType,
String charsetName) |
File |
SaveFileResponseParser.parse(HTTPClient client,
Request request,
int responseCode,
InputStream stream,
Map<String,List<String>> headers,
String contentType,
String charset) |
T |
ResponseParser.parse(HTTPClient client,
Request request,
int responseCode,
InputStream stream,
Map<String,List<String>> headers,
String contentType,
String charset) |
Void |
NoOpResponseParser.parse(HTTPClient client,
Request request,
int responseCode,
InputStream stream,
Map<String,List<String>> headers,
String contentType,
String charset) |
| Modifier and Type | Method and Description |
|---|---|
<T> Response<T> |
Request.execute(HTTPClient client,
ResponseParser<? extends T> parser) |
default <R> Response<R> |
Request.Builder.execute(HTTPClient client,
ResponseParser<R> parser) |
Copyright © 2019. All rights reserved.