public interface HttpSender
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.Modifier and Type | Interface and Description |
---|---|
static class |
HttpSender.Method |
static class |
HttpSender.Request |
static class |
HttpSender.Response |
Modifier and Type | Method and Description |
---|---|
default HttpSender.Request.Builder |
delete(java.lang.String uri) |
default HttpSender.Request.Builder |
get(java.lang.String uri) |
default HttpSender.Request.Builder |
head(java.lang.String uri) |
default HttpSender.Request.Builder |
newRequest(java.lang.String uri) |
default HttpSender.Request.Builder |
options(java.lang.String uri) |
default HttpSender.Request.Builder |
post(java.lang.String uri) |
default HttpSender.Request.Builder |
put(java.lang.String uri) |
HttpSender.Response |
send(HttpSender.Request request) |
HttpSender.Response send(HttpSender.Request request) throws java.lang.Throwable
java.lang.Throwable
default HttpSender.Request.Builder post(java.lang.String uri)
default HttpSender.Request.Builder head(java.lang.String uri)
default HttpSender.Request.Builder put(java.lang.String uri)
default HttpSender.Request.Builder get(java.lang.String uri)
default HttpSender.Request.Builder delete(java.lang.String uri)
default HttpSender.Request.Builder options(java.lang.String uri)
default HttpSender.Request.Builder newRequest(java.lang.String uri)