Class Result
- java.lang.Object
-
- com.deviceatlas.cloud.deviceidentification.client.Result
-
public class Result extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getHeaders()
Returns the list of used headers used against the cloud endpointsProperties
getProperties()
Returns the properties's listjava.lang.String
getSource()
Returns the source of the properties either cloud or cachevoid
setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Set the list of headers from the cloud endpoints requestvoid
setProperties(Properties properties)
Set the properties's list from the cloud endpoint's responsevoid
setSource(java.lang.String source)
Sets the source of the properties
-
-
-
Method Detail
-
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
Returns the list of used headers used against the cloud endpoints- Returns:
- Map<String, String>
-
setHeaders
public void setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Set the list of headers from the cloud endpoints request- Parameters:
headers
-
-
getSource
public java.lang.String getSource()
Returns the source of the properties either cloud or cache- Returns:
- String
-
setSource
public void setSource(java.lang.String source)
Sets the source of the properties- Parameters:
source
-
-
getProperties
public Properties getProperties()
Returns the properties's list- Returns:
- Properties
-
setProperties
public void setProperties(Properties properties)
Set the properties's list from the cloud endpoint's response- Parameters:
properties
-
-
-