Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.http.client.EtherHttpClient Interface Reference
Inheritance diagram for dev.rafex.ether.http.client.EtherHttpClient:
Collaboration diagram for dev.rafex.ether.http.client.EtherHttpClient:

Public Member Functions

default void close () throws Exception
default HttpResponseSpec get (final URI uri) throws IOException, InterruptedException
HttpResponseSpec send (HttpRequestSpec request) throws IOException, InterruptedException
< T > T sendJson (HttpRequestSpec request, Class< T > type) throws IOException, InterruptedException
< T > T sendJson (HttpRequestSpec request, TypeReference< T > typeReference) throws IOException, InterruptedException

Detailed Description

Definition at line 37 of file EtherHttpClient.java.

Member Function Documentation

◆ close()

default void dev.rafex.ether.http.client.EtherHttpClient.close ( ) throws Exception

Definition at line 50 of file EtherHttpClient.java.

◆ get()

default HttpResponseSpec dev.rafex.ether.http.client.EtherHttpClient.get ( final URI uri) throws IOException, InterruptedException

Definition at line 41 of file EtherHttpClient.java.

References send().

Here is the call graph for this function:

◆ send()

HttpResponseSpec dev.rafex.ether.http.client.EtherHttpClient.send ( HttpRequestSpec request) throws IOException, InterruptedException

Implemented in dev.rafex.ether.http.client.impl.DefaultEtherHttpClient.

Referenced by get().

Here is the caller graph for this function:

◆ sendJson() [1/2]

< T > T dev.rafex.ether.http.client.EtherHttpClient.sendJson ( HttpRequestSpec request,
Class< T > type ) throws IOException, InterruptedException

◆ sendJson() [2/2]

< T > T dev.rafex.ether.http.client.EtherHttpClient.sendJson ( HttpRequestSpec request,
TypeReference< T > typeReference ) throws IOException, InterruptedException

The documentation for this interface was generated from the following file:
  • ether-http-client/ether-http-client/src/main/java/dev/rafex/ether/http/client/EtherHttpClient.java