Class ServiceLogElement
java.lang.Object
talonsoalbi_at_gmail_dot_com.ssoxmatch.actions.web.ServiceLogElement
- All Implemented Interfaces:
Comparable<ServiceLogElement>
A class to hold the data for a given service query, which is also usually ingested in a database
- Author:
- talonso
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDate()Returns the dateReturns the html headersgetIp()Returns the IPReturns the input parameters of the queryintReturns the length of the response in bytesReturns the service identifierdoublegetTime()Returns the query timevoidSets the datevoidsetHeaders(String headers) Sets the html headersvoidSets the IPvoidsetQueryParams(String queryParams) Sets the input parameters of the queryvoidsetResponseLength(int responseLength) Sets the length of the responsevoidsetServiceId(String serviceId) Sets the service identifiervoidsetTime(double time) Sets the query timetoString()
-
Constructor Details
-
Method Details
-
getServiceId
Returns the service identifier- Returns:
- the serviceId
-
setServiceId
Sets the service identifier- Parameters:
serviceId- the serviceId to set
-
getQueryParams
Returns the input parameters of the query- Returns:
- the queryParams
-
setQueryParams
Sets the input parameters of the query- Parameters:
queryParams- the queryParams to set
-
getDate
Returns the date- Returns:
- the date
-
setDate
Sets the date- Parameters:
date- the date to set
-
getResponseLength
public int getResponseLength()Returns the length of the response in bytes- Returns:
- the responseLength
-
setResponseLength
public void setResponseLength(int responseLength) Sets the length of the response- Parameters:
responseLength- the responseLength to set
-
getTime
public double getTime()Returns the query time- Returns:
- the time
-
setTime
public void setTime(double time) Sets the query time- Parameters:
time- the time to set
-
getIp
Returns the IP- Returns:
- the ip
-
setIp
Sets the IP- Parameters:
ip- the ip to set
-
getHeaders
Returns the html headers- Returns:
- the headers
-
setHeaders
Sets the html headers- Parameters:
headers- the headers to set
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<ServiceLogElement>
-