Class ScimPaginationConfig
java.lang.Object
com.revetsec.scim.ScimPaginationConfig
Immutable advertised pagination capabilities. A cursor timeout is a minimum validity
commitment the application must honor, rather than a core cursor-expiry implementation.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMutable, non-thread-safe pagination configuration; null restores the stated default. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Starts pagination configuration with index enabled, cursor disabled and page size 100/1000.booleanCompares all advertised pagination characteristics.Returns the optional minimum cursor-validity commitment.Returns the default pagination method.Returns the default page size.Returns the maximum accepted page size.inthashCode()Returns the configuration hash.Returns whether cursor pagination is supported.Returns whether index pagination is supported.toString()Returns a fixed configuration description.
-
Method Details
-
builder
Starts pagination configuration with index enabled, cursor disabled and page size 100/1000.- Returns:
- a new builder
- Since:
- 1.0.0
-
isIndexSupported
Returns whether index pagination is supported.- Returns:
- whether index pagination is supported
- Since:
- 1.0.0
-
isCursorSupported
Returns whether cursor pagination is supported.- Returns:
- whether cursor pagination is supported
- Since:
- 1.0.0
-
getDefaultMethod
Returns the default pagination method.- Returns:
- the default pagination method
- Since:
- 1.0.0
-
getDefaultPageSize
Returns the default page size.- Returns:
- the default page size
- Since:
- 1.0.0
-
getMaximumPageSize
Returns the maximum accepted page size.- Returns:
- the maximum accepted page size
- Since:
- 1.0.0
-
getCursorTimeout
Returns the optional minimum cursor-validity commitment.- Returns:
- the optional minimum cursor-validity commitment
- Since:
- 1.0.0
-
equals
-
hashCode
-
toString
-