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.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, readObjectListMethods 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:
listObjectsin classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-
checkObjectOrDirectory
public io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> checkObjectOrDirectory(String bucketName, String pathDirectoryOrObject, String clientId, String opId) - Overrides:
checkObjectOrDirectoryin classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-
getObjectInfo
public io.smallrye.mutiny.Uni<AccessorObject> getObjectInfo(String bucketName, String objectName, String clientId, String opId) - Overrides:
getObjectInfoin 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:AbstractAccessorPublicObjectResourceReturns both the content Object and the associated DTO through Headers- Overrides:
getObjectin 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:AbstractAccessorPublicObjectResourceCreate the Object and returns the associated DTO- Overrides:
createObjectin classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-
deleteObject
public io.smallrye.mutiny.Uni<jakarta.ws.rs.core.Response> deleteObject(String bucketName, String objectName, String clientId, String opId) - Overrides:
deleteObjectin classAbstractAccessorPublicObjectResource<ObjectStreamHandler>
-