Codota Logo
StorageService.getObjectDetails
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
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

  • Start an intent from android
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • findViewById (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • String (java.lang)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now