Package | Description |
---|---|
com.github.diegonighty.http | |
com.github.diegonighty.http.util |
Modifier and Type | Method and Description |
---|---|
static HttpConnection.RequestField |
HttpConnection.RequestField.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpConnection.RequestField[] |
HttpConnection.RequestField.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default <V> HttpConnection<T> |
HttpConnection.addRequestField(HttpConnection.RequestField field,
V value)
Add header to http request
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
HeaderMap.get(HttpConnection.RequestField field) |
<V> void |
HeaderMap.put(HttpConnection.RequestField field,
V value) |
void |
HeaderMap.remove(HttpConnection.RequestField field) |
Modifier and Type | Method and Description |
---|---|
static HeaderMap |
HeaderMap.of(java.util.Map<HttpConnection.RequestField,java.lang.Object> map) |