| Package | Description |
|---|---|
| dev.codeflush.httpclient | |
| dev.codeflush.httpclient.request |
| Modifier and Type | Method and Description |
|---|---|
static Endpoint |
Endpoint.forAddress(InetSocketAddress address) |
static Endpoint |
Endpoint.forAddress(String protocol,
InetSocketAddress address) |
static Endpoint |
Endpoint.forHost(String host) |
static Endpoint |
Endpoint.forHost(String protocol,
String host) |
static Endpoint |
Endpoint.forHostAndPort(String host,
int port) |
static Endpoint |
Endpoint.forHostAndPort(String protocol,
String host,
int port) |
static Endpoint |
Endpoint.forURL(String urlStr) |
Endpoint |
Endpoint.resolve(String... children) |
| Modifier and Type | Method and Description |
|---|---|
static Request.Builder<?> |
Request.Builder.create(Endpoint endpoint,
RequestMethod method) |
static Request.BuilderWithBody<?> |
Request.BuilderWithBody.create(Endpoint endpoint,
RequestMethod method) |
| Constructor and Description |
|---|
Request(Endpoint endpoint,
RequestMethod method,
Charset charset,
Map<String,String> urlParameters,
Map<String,String> headers,
RequestBody body) |
Copyright © 2019. All rights reserved.