Class OkHttpMetricsProperties
java.lang.Object
io.freefair.spring.okhttp.autoconfigure.metrics.OkHttpMetricsProperties
- See Also:
-
OkHttpMetricsEventListener
OkHttpMetricsAutoConfiguration
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getName()
Name for the metrics.getPool()
Tag keys forRequest.tag()
orRequest.tag(Class)
.getTags()
int
hashCode()
boolean
boolean
Whether to include thehost
tag.void
setEnabled
(boolean enabled) void
setIncludeHostTag
(boolean includeHostTag) Whether to include thehost
tag.void
Name for the metrics.void
setRequestTagKeys
(List<String> requestTagKeys) Tag keys forRequest.tag()
orRequest.tag(Class)
.void
toString()
-
Constructor Details
-
OkHttpMetricsProperties
public OkHttpMetricsProperties()
-
-
Method Details
-
isEnabled
-
getName
Name for the metrics. -
isIncludeHostTag
Whether to include thehost
tag.- See Also:
-
OkHttpMetricsEventListener.Builder.includeHostTag(boolean)
-
getRequestTagKeys
Tag keys forRequest.tag()
orRequest.tag(Class)
.- See Also:
-
OkHttpMetricsEventListener.Builder.requestTagKeys(Iterable)
-
getTags
- See Also:
-
OkHttpMetricsEventListener.Builder.tags(Iterable)
-
getPool
-
setEnabled
-
setName
Name for the metrics. -
setIncludeHostTag
Whether to include thehost
tag.- See Also:
-
OkHttpMetricsEventListener.Builder.includeHostTag(boolean)
-
setRequestTagKeys
Tag keys forRequest.tag()
orRequest.tag(Class)
.- See Also:
-
OkHttpMetricsEventListener.Builder.requestTagKeys(Iterable)
-
setTags
- See Also:
-
OkHttpMetricsEventListener.Builder.tags(Iterable)
-
equals
-
canEqual
-
hashCode
-
toString
-