public interface ResponseAttributes
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationId()
Returns the ID of the application to which this configuration applies.
|
int |
getMaxBeaconSizeInBytes()
Returns the maximum POST body size when sending beacons.
|
int |
getMaxEventsPerSession()
Returns the maximum number of top level actions after which a session will be split.
|
int |
getMaxSessionDurationInMilliseconds()
Returns the maximum duration of a session in milliseconds after which a session will be split.
|
int |
getMultiplicity()
Returns the multiplicity
|
int |
getSendIntervalInMilliseconds()
Returns the send interval in milliseconds.
|
int |
getServerId()
Returns the ID of the server to where all data should be sent.
|
int |
getSessionTimeoutInMilliseconds()
Returns the idle timeout in milliseconds after which a session will be split.
|
java.lang.String |
getStatus()
Returns the status of the new session configuration request.
|
long |
getTimestampInMilliseconds()
Returns the timestamp of these attributes which were returned from the server.
|
int |
getVisitStoreVersion()
Returns the version of the visit store to be used.
|
boolean |
isAttributeSet(ResponseAttribute attribute)
Checks whether the given attribute was set / sent from the server with this server response.
|
boolean |
isCapture()
Indicator whether capturing data is generally allowed or not.
|
boolean |
isCaptureCrashes()
Indicator whether crashes should be captured or not.
|
boolean |
isCaptureErrors()
Indicator whether errors should be captured or not.
|
ResponseAttributes |
merge(ResponseAttributes responseAttributes)
Creates a new response attributes object by merging the given response into this one.
|
int getMaxBeaconSizeInBytes()
int getMaxSessionDurationInMilliseconds()
int getMaxEventsPerSession()
int getSessionTimeoutInMilliseconds()
int getSendIntervalInMilliseconds()
int getVisitStoreVersion()
boolean isCapture()
boolean isCaptureCrashes()
boolean isCaptureErrors()
java.lang.String getApplicationId()
This is sent by the JSON configuration only, as sanity check to fix a weird Jetty bug.
int getMultiplicity()
int getServerId()
java.lang.String getStatus()
long getTimestampInMilliseconds()
The timestamp is the duration from January, 1st, 1970
boolean isAttributeSet(ResponseAttribute attribute)
attribute - the attribute to be checked if it was sent by the server.true if the given attribute was sent from the server with this attributes, false otherwise.ResponseAttributes merge(ResponseAttributes responseAttributes)
is set.responseAttributes - the response attributes which will be merged together with this one into a new response
attributes object.