-
public final class OptionalHeaders
-
-
Field Summary
Fields Modifier and Type Field Description private final StringcacheKeyprivate final StringrywTokenprivate final IntegerretryCountprivate final LongsessionDuration
-
Constructor Summary
Constructors Constructor Description OptionalHeaders(String cacheKey, String rywToken, Integer retryCount, Long sessionDuration)
-
Method Summary
Modifier and Type Method Description final StringgetCacheKey()Used as an E-Tag final StringgetRywToken()Used for read your write consistency final IntegergetRetryCount()Current retry count final LonggetSessionDuration()Used to track delay between session start and request -
-
Method Detail
-
getCacheKey
final String getCacheKey()
Used as an E-Tag
-
getRywToken
final String getRywToken()
Used for read your write consistency
-
getRetryCount
final Integer getRetryCount()
Current retry count
-
getSessionDuration
final Long getSessionDuration()
Used to track delay between session start and request
-
-
-
-