public enum ResponseAttributesDefaults extends java.lang.Enum<ResponseAttributesDefaults> implements ResponseAttributes
| Enum Constant and Description |
|---|
JSON_RESPONSE |
KEY_VALUE_RESPONSE |
UNDEFINED |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationId()
Returns the ID of the application to which this configuration applies.
|
abstract int |
getMaxBeaconSizeInBytes()
Returns the maximum POST body size when sending beacons.
|
abstract int |
getMaxEventsPerSession()
Returns the maximum number of top level actions after which a session will be split.
|
abstract 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.
|
abstract 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 |
getTrafficControlPercentage()
Gets a session sampling in percent.
|
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.
|
static ResponseAttributesDefaults |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResponseAttributesDefaults[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseAttributesDefaults JSON_RESPONSE
public static final ResponseAttributesDefaults KEY_VALUE_RESPONSE
public static final ResponseAttributesDefaults UNDEFINED
public static ResponseAttributesDefaults[] values()
for (ResponseAttributesDefaults c : ResponseAttributesDefaults.values()) System.out.println(c);
public static ResponseAttributesDefaults valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract int getMaxBeaconSizeInBytes()
ResponseAttributesgetMaxBeaconSizeInBytes in interface ResponseAttributespublic abstract int getMaxSessionDurationInMilliseconds()
ResponseAttributesgetMaxSessionDurationInMilliseconds in interface ResponseAttributespublic abstract int getMaxEventsPerSession()
ResponseAttributesgetMaxEventsPerSession in interface ResponseAttributespublic abstract int getSessionTimeoutInMilliseconds()
ResponseAttributesgetSessionTimeoutInMilliseconds in interface ResponseAttributespublic int getSendIntervalInMilliseconds()
ResponseAttributesgetSendIntervalInMilliseconds in interface ResponseAttributespublic int getVisitStoreVersion()
ResponseAttributesgetVisitStoreVersion in interface ResponseAttributespublic boolean isCapture()
ResponseAttributesisCapture in interface ResponseAttributespublic boolean isCaptureCrashes()
ResponseAttributesisCaptureCrashes in interface ResponseAttributespublic boolean isCaptureErrors()
ResponseAttributesisCaptureErrors in interface ResponseAttributespublic int getTrafficControlPercentage()
ResponseAttributesValue returned here is configured per application as Cost Control.
getTrafficControlPercentage in interface ResponseAttributespublic java.lang.String getApplicationId()
ResponseAttributesThis is sent by the JSON configuration only, as sanity check to fix a weird Jetty bug.
getApplicationId in interface ResponseAttributespublic int getMultiplicity()
ResponseAttributesgetMultiplicity in interface ResponseAttributespublic int getServerId()
ResponseAttributesgetServerId in interface ResponseAttributespublic java.lang.String getStatus()
ResponseAttributesgetStatus in interface ResponseAttributespublic long getTimestampInMilliseconds()
ResponseAttributesThe timestamp is the duration from January, 1st, 1970
getTimestampInMilliseconds in interface ResponseAttributespublic boolean isAttributeSet(ResponseAttribute attribute)
ResponseAttributesisAttributeSet in interface ResponseAttributesattribute - 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.public ResponseAttributes merge(ResponseAttributes responseAttributes)
ResponseAttributesis set.merge in interface ResponseAttributesresponseAttributes - the response attributes which will be merged together with this one into a new response
attributes object.