Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
Package dev.rafex.ether.http.client.model

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)

Detailed Description

Request and response models for Ether HTTP clients.

Function Documentation

◆ HttpRequestSpec()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HttpResponseSpec()

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().

Here is the call graph for this function:
Here is the caller graph for this function: