-
- All Implemented Interfaces:
-
org.veupathdb.lib.s3.s34k.params.RegionRequestParams,org.veupathdb.lib.s3.s34k.params.S3RequestParams
public interface ObjectOpenParams implements RegionRequestParams
Object open request parameters.
-
-
Method Summary
Modifier and Type Method Description abstract Function1<StreamObject, Unit>getCallback()Optional callback that will be executed on successful completion of the S3 operation. abstract UnitsetCallback(Function1<StreamObject, Unit> callback)Optional callback that will be executed on successful completion of the S3 operation. -
Methods inherited from class org.veupathdb.lib.s3.s34k.params.RegionRequestParams
getRegion, setRegion -
Methods inherited from class org.veupathdb.lib.s3.s34k.params.S3RequestParams
getHeaders, getQueryParams -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCallback
abstract Function1<StreamObject, Unit> getCallback()
Optional callback that will be executed on successful completion of the S3 operation.
This callback will be passed an StreamObject request wrapping a stream over the contents of the target object if that object exists. If the target object does not exist, this callback will be passed a
nullvalue.
-
setCallback
abstract Unit setCallback(Function1<StreamObject, Unit> callback)
Optional callback that will be executed on successful completion of the S3 operation.
This callback will be passed an StreamObject request wrapping a stream over the contents of the target object if that object exists. If the target object does not exist, this callback will be passed a
nullvalue.
-
-
-
-