Class OkHttpMetricsProperties
- java.lang.Object
-
- io.freefair.spring.okhttp.metrics.OkHttpMetricsProperties
-
@ConfigurationProperties("okhttp.metrics") public class OkHttpMetricsProperties extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OkHttpMetricsProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getName()
Name for the metrics.java.util.List<java.lang.String>
getRequestTagKeys()
Tag keys forRequest.tag()
orRequest.tag(Class)
.java.util.Map<java.lang.String,java.lang.String>
getTags()
int
hashCode()
boolean
isEnabled()
boolean
isIncludeHostTag()
Whether to include thehost
tag.void
setEnabled(boolean enabled)
void
setIncludeHostTag(boolean includeHostTag)
Whether to include thehost
tag.void
setName(java.lang.String name)
Name for the metrics.void
setRequestTagKeys(java.util.List<java.lang.String> requestTagKeys)
Tag keys forRequest.tag()
orRequest.tag(Class)
.void
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
java.lang.String
toString()
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
getName
public java.lang.String getName()
Name for the metrics.
-
isIncludeHostTag
public boolean isIncludeHostTag()
Whether to include thehost
tag.
-
getRequestTagKeys
public java.util.List<java.lang.String> getRequestTagKeys()
Tag keys forRequest.tag()
orRequest.tag(Class)
.
-
getTags
public java.util.Map<java.lang.String,java.lang.String> getTags()
-
setEnabled
public void setEnabled(boolean enabled)
-
setName
public void setName(java.lang.String name)
Name for the metrics.
-
setIncludeHostTag
public void setIncludeHostTag(boolean includeHostTag)
Whether to include thehost
tag.
-
setRequestTagKeys
public void setRequestTagKeys(java.util.List<java.lang.String> requestTagKeys)
Tag keys forRequest.tag()
orRequest.tag(Class)
.
-
setTags
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-