Class ApiClientMetadata
java.lang.Object
com.netflix.genie.common.internal.dtos.ClientMetadata
com.netflix.genie.common.internal.dtos.ApiClientMetadata
- All Implemented Interfaces:
- Serializable
Data class to hold information about a Genie client whether it is an API client or an Agent.
- Since:
- 4.0.0
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the user agent string for the client.Methods inherited from class com.netflix.genie.common.internal.dtos.ClientMetadatagetHostname
- 
Constructor Details- 
ApiClientMetadataConstructor.- Parameters:
- hostname- The hostname of the client that sent the API request
- userAgent- The user agent string
 
 
- 
- 
Method Details- 
getUserAgentGet the user agent string for the client.- Returns:
- The user agent string if there is one wrapped in an Optional
 
 
-