Class AccessorPublicObjectResource
java.lang.Object
io.clonecloudstore.common.quarkus.server.service.StreamServiceAbstract<AccessorObject,AccessorObject,ObjectStreamHandler>
io.clonecloudstore.accessor.server.commons.AbstractPublicObjectHelper<ObjectStreamHandler>
io.clonecloudstore.accessor.server.commons.AbstractAccessorPublicObjectResource<ObjectStreamHandler>
io.clonecloudstore.accessor.server.simple.resource.AccessorPublicObjectResource
@Path("/cloudclonestore")
public class AccessorPublicObjectResource
extends AbstractAccessorPublicObjectResource<ObjectStreamHandler>
Object API Resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni
<jakarta.ws.rs.core.Response> checkObjectOrDirectory
(String bucketName, String pathDirectoryOrObject, String clientId, String opId) io.smallrye.mutiny.Uni
<jakarta.ws.rs.core.Response> createObject
(io.vertx.core.http.HttpServerRequest request, io.quarkus.resteasy.reactive.server.Closer closer, String bucketName, String objectName, String contentTypeHeader, String contentEncodingHeader, String clientId, String opId, String xObjectId, String xObjectSite, String xObjectBucket, String xObjectName, long xObjectSize, String xObjectHash, String xObjectMetadata, String xObjectExpires, InputStream inputStream) Create the Object and returns the associated DTOio.smallrye.mutiny.Uni
<jakarta.ws.rs.core.Response> deleteObject
(String bucketName, String objectName, String clientId, String opId) io.smallrye.mutiny.Uni
<jakarta.ws.rs.core.Response> getObject
(String bucketName, String objectName, String acceptHeader, String acceptEncodingHeader, String clientId, String opId, io.vertx.core.http.HttpServerRequest request, io.quarkus.resteasy.reactive.server.Closer closer) Returns both the content Object and the associated DTO through Headersio.smallrye.mutiny.Uni
<AccessorObject> getObjectInfo
(String bucketName, String objectName, String clientId, String opId) io.smallrye.mutiny.Uni
<jakarta.ws.rs.core.Response> listObjects
(String bucketName, String acceptHeader, String acceptEncodingHeader, String clientId, String opId, String xNamePrefix, String xStatuses, String xCreationBefore, String xCreationAfter, String xExpiresBefore, String xExpiresAfter, long xSizeLt, long xSizeGt, String xMetadataEq, io.vertx.core.http.HttpServerRequest request, io.quarkus.resteasy.reactive.server.Closer closer) Methods inherited from class io.clonecloudstore.accessor.server.commons.AbstractPublicObjectHelper
getFromStorageObject, readObjectList
Methods inherited from class io.clonecloudstore.common.quarkus.server.service.StreamServiceAbstract
createErrorResponse, createObject, createObject, getNativeStream, readObject
-
Constructor Details
-
AccessorPublicObjectResource
-
-
Method Details
-
listObjects
public io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> listObjects(String bucketName, String acceptHeader, String acceptEncodingHeader, String clientId, String opId, String xNamePrefix, String xStatuses, String xCreationBefore, String xCreationAfter, String xExpiresBefore, String xExpiresAfter, long xSizeLt, long xSizeGt, String xMetadataEq, io.vertx.core.http.HttpServerRequest request, io.quarkus.resteasy.reactive.server.Closer closer) - Overrides:
listObjects
in classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-
checkObjectOrDirectory
public io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> checkObjectOrDirectory(String bucketName, String pathDirectoryOrObject, String clientId, String opId) - Overrides:
checkObjectOrDirectory
in classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-
getObjectInfo
public io.smallrye.mutiny.Uni<AccessorObject> getObjectInfo(String bucketName, String objectName, String clientId, String opId) - Overrides:
getObjectInfo
in classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-
getObject
public io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> getObject(String bucketName, String objectName, String acceptHeader, String acceptEncodingHeader, String clientId, String opId, io.vertx.core.http.HttpServerRequest request, io.quarkus.resteasy.reactive.server.Closer closer) Description copied from class:AbstractAccessorPublicObjectResource
Returns both the content Object and the associated DTO through Headers- Overrides:
getObject
in classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-
createObject
public io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> createObject(io.vertx.core.http.HttpServerRequest request, io.quarkus.resteasy.reactive.server.Closer closer, String bucketName, String objectName, String contentTypeHeader, String contentEncodingHeader, String clientId, String opId, String xObjectId, String xObjectSite, String xObjectBucket, String xObjectName, long xObjectSize, String xObjectHash, String xObjectMetadata, String xObjectExpires, InputStream inputStream) Description copied from class:AbstractAccessorPublicObjectResource
Create the Object and returns the associated DTO- Overrides:
createObject
in classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-
deleteObject
public io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> deleteObject(String bucketName, String objectName, String clientId, String opId) - Overrides:
deleteObject
in classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-