Package org.rostore.client
Class RequestProperties
java.lang.Object
org.rostore.client.RequestProperties
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontentType
(String contentType) Content type of the request (header).getEOL()
The Unix End of Live - used to set the expiration of the key.getPath()
The REST path to execute.Properties of theRoStoreClient
to be used in the request.options
(EnumSet<RecordOption> recordOptions) trackingId
(String trackingId) version()
-
Constructor Details
-
RequestProperties
-
-
Method Details
-
getRoStoreClientProperties
Properties of theRoStoreClient
to be used in the request.- Returns:
- properties class
-
getContentType
Content type of the request (header).- Returns:
- the content type
-
contentType
-
getPath
The REST path to execute.- Returns:
- the request's path
-
getEOL
The Unix End of Live - used to set the expiration of the key.The value might be null.
- Returns:
- the eol
-
path
-
version
-
version
-
unixEol
-
options
-
getRecordOptions
-
trackingId
-
trackingId
-