Package io.micrometer.core.ipc.http
Class OkHttpSender
java.lang.Object
io.micrometer.core.ipc.http.OkHttpSender
- All Implemented Interfaces:
HttpSender
OkHttp-based
HttpSender
.- Since:
- 1.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.ipc.http.HttpSender
HttpSender.Method, HttpSender.Request, HttpSender.Response
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micrometer.core.ipc.http.HttpSender
delete, get, head, newRequest, options, post, put
-
Constructor Details
-
OkHttpSender
public OkHttpSender(okhttp3.OkHttpClient client) -
OkHttpSender
public OkHttpSender()
-
-
Method Details
-
send
- Specified by:
send
in interfaceHttpSender
- Throws:
Throwable
-