Class FakeBucketPublicResourceAbstract
java.lang.Object
io.clonecloudstore.test.accessor.common.FakeBucketPublicAbstract
io.clonecloudstore.test.accessor.server.resource.FakeBucketPublicResourceAbstract
- All Implemented Interfaces:
AccessorBucketApi
,Closeable
,AutoCloseable
@Dependent
public abstract class FakeBucketPublicResourceAbstract
extends FakeBucketPublicAbstract
implements AccessorBucketApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni
<jakarta.ws.rs.core.Response> checkBucket
(String bucketName, String clientId, String opId) void
close()
io.smallrye.mutiny.Uni
<AccessorBucket> createBucket
(String bucketName, String clientId, String opId) io.smallrye.mutiny.Uni
<jakarta.ws.rs.core.Response> deleteBucket
(String bucketName, String clientId, String opId) io.smallrye.mutiny.Uni
<AccessorBucket> io.smallrye.mutiny.Uni
<Collection<AccessorBucket>> getBuckets
(String clientId, String opId) protected boolean
isPublic()
Methods inherited from class io.clonecloudstore.test.accessor.common.FakeBucketPublicAbstract
checkBucket0, createBucket0, deleteBucket0, getBucket0, getBuckets0
-
Constructor Details
-
FakeBucketPublicResourceAbstract
public FakeBucketPublicResourceAbstract()
-
-
Method Details
-
isPublic
protected boolean isPublic()- Overrides:
isPublic
in classFakeBucketPublicAbstract
-
getBuckets
- Specified by:
getBuckets
in interfaceAccessorBucketApi
-
checkBucket
public io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> checkBucket(String bucketName, String clientId, String opId) - Specified by:
checkBucket
in interfaceAccessorBucketApi
-
getBucket
public io.smallrye.mutiny.Uni<AccessorBucket> getBucket(String bucketName, String clientId, String opId) - Specified by:
getBucket
in interfaceAccessorBucketApi
-
createBucket
public io.smallrye.mutiny.Uni<AccessorBucket> createBucket(String bucketName, String clientId, String opId) - Specified by:
createBucket
in interfaceAccessorBucketApi
-
deleteBucket
public io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> deleteBucket(String bucketName, String clientId, String opId) - Specified by:
deleteBucket
in interfaceAccessorBucketApi
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-