Request and response models for Ether HTTP clients. More...
Classes | |
| enum | HttpMethod |
Functions | |
| record | HttpRequestSpec (HttpMethod method, URI uri, Map< String, List< String > > headers, byte[] body, Duration timeout) |
| record | HttpResponseSpec (int statusCode, Map< String, List< String > > headers, byte[] body) |
Request and response models for Ether HTTP clients.
| record dev.rafex.ether.http.client.model.HttpRequestSpec | ( | HttpMethod | method, |
| URI | uri, | ||
| Map< String, List< String > > | headers, | ||
| byte[] | body, | ||
| Duration | timeout ) |
Definition at line 39 of file HttpRequestSpec.java.
References dev.rafex.ether.json.JsonUtils.codec(), dev.rafex.ether.http.client.model.HttpMethod.DELETE, dev.rafex.ether.http.client.model.HttpMethod.GET, HttpRequestSpec(), dev.rafex.ether.http.client.model.HttpMethod.PATCH, dev.rafex.ether.http.client.model.HttpMethod.POST, dev.rafex.ether.http.client.model.HttpMethod.PUT, and dev.rafex.ether.json.JsonUtils.toJsonBytes().
Referenced by HttpRequestSpec().
| record dev.rafex.ether.http.client.model.HttpResponseSpec | ( | int | statusCode, |
| Map< String, List< String > > | headers, | ||
| byte[] | body ) |
Definition at line 34 of file HttpResponseSpec.java.
References HttpResponseSpec().
Referenced by HttpResponseSpec().