Package io.micrometer.core.ipc.http
Interface HttpSender
- All Known Implementing Classes:
HttpUrlConnectionSender
,OkHttpSender
,ReactorNettySender
public interface HttpSender
A general-purpose interface for controlling how
MeterRegistry
implementations
perform HTTP calls for various purposes. This interface can be used to inject more advanced customization like SSL
verification, key loading, etc. without requiring further additions to registry configurations.- Since:
- 1.1.0
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpSender.Request.Builder
default HttpSender.Request.Builder
default HttpSender.Request.Builder
default HttpSender.Request.Builder
newRequest
(String uri) default HttpSender.Request.Builder
default HttpSender.Request.Builder
default HttpSender.Request.Builder
send
(HttpSender.Request request)
-
Method Details
-
send
- Throws:
Throwable
-
post
-
head
-
put
-
get
-
delete
-
options
-
newRequest
-