Class InfinispanCacheAPIRequest


  • public class InfinispanCacheAPIRequest
    extends InfinispanRequest
    Representation of a HTTP request related to Cache API operations.
    Since:
    9.2
    • Method Detail

      • getKey

        public java.util.Optional<java.lang.Object> getKey()
        Returns:
        key.
      • getTimeToLiveSeconds

        public java.util.Optional<java.lang.Long> getTimeToLiveSeconds()
        Returns timeToLiveSeconds header value.
        Returns:
        timeToLiveSeconds header value.
      • getMaxIdleTimeSeconds

        public java.util.Optional<java.lang.Long> getMaxIdleTimeSeconds()
        Returns maxIdleTimeSeconds header value.
        Returns:
        maxIdleTimeSeconds header value.
      • getEtagIfNoneMatch

        public java.util.Optional<java.lang.String> getEtagIfNoneMatch()
        Returns If-None-Match header value.
        Returns:
        If-None-Match header value.
        See Also:
        HTTP_ETag
      • getEtagIfUnmodifiedSince

        public java.util.Optional<java.lang.String> getEtagIfUnmodifiedSince()
        Returns If-Unmodified-Since header value.
        Returns:
        If-Unmodified-Since header value.
        See Also:
        HTTP_ETag
      • getEtagIfModifiedSince

        public java.util.Optional<java.lang.String> getEtagIfModifiedSince()
        Returns If-Modified-Since header value.
        Returns:
        If-Modified-Since header value.
        See Also:
        HTTP_ETag
      • getEtagIfMatch

        public java.util.Optional<java.lang.String> getEtagIfMatch()
        Returns If-Match header value.
        Returns:
        If-Match header value.
        See Also:
        HTTP_ETag
      • getCacheControl

        public java.util.Optional<java.lang.String> getCacheControl()
      • getExtended

        public java.util.Optional<java.lang.String> getExtended()
        Returns whether client wishes to return 'Extended Headers'.
        Returns:
        true if client wishes to return 'Extended Headers'.