Tabnine Logo
StorageService.getObjectDetails
Code IndexAdd Tabnine to your IDE (free)

How to use
getObjectDetails
method
in
org.jets3t.service.StorageService

Best Java code snippets using org.jets3t.service.StorageService.getObjectDetails (Showing top 7 results out of 315)

origin: net.java.dev.jets3t/jets3t

/**
 * Returns an object representing the details of an item in without the object's data, and
 * without applying any preconditions.
 * <p>
 * This method can be performed by anonymous services. Anonymous services
 * can get a publicly-readable object's details.
 *
 * @param bucketName
 * the name of the bucket containing the object.
 * @param objectKey
 * the key identifying the object.
 * @return
 * the object with the given key, including only general details and metadata
 * (not the data input stream)
 * @throws ServiceException
 */
public StorageObject getObjectDetails(String bucketName, String objectKey)
  throws ServiceException
{
  return getObjectDetails(bucketName, objectKey, null, null, null, null);
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

/**
 * Returns an object representing the details of an item in without the object's data, and
 * without applying any preconditions.
 * <p>
 * This method can be performed by anonymous services. Anonymous services
 * can get a publicly-readable object's details.
 *
 * @param bucketName
 * the name of the bucket containing the object.
 * @param objectKey
 * the key identifying the object.
 * @return
 * the object with the given key, including only general details and metadata
 * (not the data input stream)
 * @throws ServiceException
 */
public StorageObject getObjectDetails(String bucketName, String objectKey)
  throws ServiceException
{
  return getObjectDetails(bucketName, objectKey, null, null, null, null);
}
origin: net.java.dev.jets3t/jets3t

public void run() {
  try {
    if (headOnly) {
      result = storageService.getObjectDetails(
        bucketName, objectKey, null, null, null, null);
    } else {
      result = storageService.getObject(
        bucketName, objectKey);
    }
  } catch (ServiceException e) {
    if (this.errorPermitter != null && this.errorPermitter.isPermitted(e)) {
      result = new ThrowableBearingStorageObject(this.objectKey, e);
    } else {
      result = e;
    }
  }
}
origin: net.java.dev.jets3t/jets3t

  getObjectDetails(bucketName, objectKey);
} catch (ServiceException e) {
  if (404 == e.getResponseCode()
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

  getObjectDetails(bucketName, objectKey);
} catch (ServiceException e) {
  if (404 == e.getResponseCode()
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

public void run() {
  try {
    if (headOnly) {
      result = storageService.getObjectDetails(
        bucketName, objectKey, null, null, null, null);
    } else {
      result = storageService.getObject(
        bucketName, objectKey);
    }
  } catch (ServiceException e) {
    if (this.errorPermitter != null && this.errorPermitter.isPermitted(e)) {
      result = new ThrowableBearingStorageObject(this.objectKey, e);
    } else {
      result = e;
    }
  }
}
origin: io.druid.extensions/druid-s3-extensions

final StorageObject objectDetails = service.getObjectDetails(config.getS3Bucket(), taskKey, null, null, null, null);
org.jets3t.serviceStorageServicegetObjectDetails

Javadoc

Returns an object representing the details of an item in without the object's data, and without applying any preconditions.

This method can be performed by anonymous services. Anonymous services can get a publicly-readable object's details.

Popular methods of StorageService

  • getObject
    Returns an object representing the details and data of an item that meets any given preconditions.Im
  • putObject
    Puts an object inside an existing bucket, creating a new object or overwriting an existing one with
  • assertAuthenticatedConnection
    Throws an exception if this service is anonymous (that is, it was created without an ProviderCredent
  • assertValidBucket
    Throws an exception if a bucket is null or contains a null/empty name.
  • assertValidObject
    Throws an exception if an object is null or contains a null/empty key.
  • copyObject
    Copy an object. You can copy an object within a single bucket or between buckets, and can optionally
  • copyObjectImpl
    Copy an object within your account. Copies within a single bucket or between buckets, and optionally
  • createBucket
    Create a bucket with the Access Control List settings of the bucket object (if any).Caution: Perform
  • createBucketImpl
  • deleteBucketImpl
  • deleteObject
    Deletes an object from a bucket. This method can be performed by anonymous services. Anonymous servi
  • deleteObjectImpl
  • deleteObject,
  • deleteObjectImpl,
  • getAccountOwnerImpl,
  • getBucket,
  • getBucketAclImpl,
  • getHttpsOnly,
  • getJetS3tProperties,
  • getObjectAcl,
  • getObjectAclImpl

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • setContentView (Activity)
  • getSystemService (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • JButton (javax.swing)
  • Option (scala)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now