Class RequestProperties

java.lang.Object
org.rostore.client.RequestProperties

public class RequestProperties extends Object
This is a backbone class that contains all the data needed to execute a REST request against the remote rostore instance.

This class is used behind the scenes and is usually never used by client explicitly.

  • Constructor Details

  • Method Details

    • getRoStoreClientProperties

      public RoStoreClientProperties getRoStoreClientProperties()
      Properties of the RoStoreClient to be used in the request.
      Returns:
      properties class
    • getContentType

      public String getContentType()
      Content type of the request (header).
      Returns:
      the content type
    • contentType

      public RequestProperties contentType(String contentType)
    • getPath

      public String getPath()
      The REST path to execute.
      Returns:
      the request's path
    • getEOL

      public Long getEOL()
      The Unix End of Live - used to set the expiration of the key.

      The value might be null.

      Returns:
      the eol
    • path

      public RequestProperties path(String path)
    • version

      public Long version()
    • version

      public RequestProperties version(Long version)
    • unixEol

      public RequestProperties unixEol(Long eol)
    • options

      public RequestProperties options(EnumSet<org.rostore.entity.media.RecordOption> recordOptions)
    • getRecordOptions

      public EnumSet<org.rostore.entity.media.RecordOption> getRecordOptions()
    • trackingId

      public String trackingId()
    • trackingId

      public RequestProperties trackingId(String trackingId)