public class EndPoint
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
double |
avg
end-point ranking test results - when the API checks the end-point
the average of test request times will be put in this property
|
java.lang.String |
host
end-point host base URL
|
java.util.List<java.lang.Double> |
latencies
end-point ranking test results - when the API checks the end-point
test request times will be put in this list
|
java.lang.String |
path
end-point host URL path
|
java.lang.String |
port
end-point host port
|
| Constructor and Description |
|---|
EndPoint()
Creates DeviceAtlas EndPoint object
|
EndPoint(java.lang.String host,
java.lang.String port)
Creates DeviceAtlas EndPoint object
|
EndPoint(java.lang.String host,
java.lang.String port,
java.lang.String path)
Creates DeviceAtlas EndPoint object
|
public java.lang.String host
public java.lang.String port
public java.lang.String path
public java.util.List<java.lang.Double> latencies
public double avg
public EndPoint()
public EndPoint(java.lang.String host,
java.lang.String port)
host - EndPoint host addressport - EndPoint port numberpublic EndPoint(java.lang.String host,
java.lang.String port,
java.lang.String path)
host - EndPoint host addressport - EndPoint port numberpath - EndPoint URL pathpublic java.lang.String getUrl()
public java.util.Map toMap()
public void fromMap(java.util.Map<java.lang.String,java.lang.Object> server)
server - server-data HashMap