com.amazon.s3
Class ListBucketResponse

java.lang.Object
  extended bycom.amazon.s3.Response
      extended bycom.amazon.s3.ListBucketResponse

public class ListBucketResponse
extends Response

Returned by AWSAuthConnection.listBucket()


Field Summary
 java.util.List commonPrefixEntries
          A List of CommonPrefixEntry objects representing the common prefixes of the keys that matched up to the delimiter.
 java.lang.String delimiter
          The delimiter echoed back from the request.
 java.util.List entries
          A List of ListEntry objects representing the objects in the given bucket.
 boolean isTruncated
          Indicates if there are more results to the list.
 java.lang.String marker
          The marker echoed back from the request.
 int maxKeys
          The maxKeys echoed back from the request if specified.
 java.lang.String name
          The name of the bucket being listed.
 java.lang.String nextMarker
          Indicates what to use as a marker for subsequent list requests in the event that the results are truncated.
 java.lang.String prefix
          The prefix echoed back from the request.
 
Fields inherited from class com.amazon.s3.Response
connection
 
Constructor Summary
ListBucketResponse(java.net.HttpURLConnection connection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The name of the bucket being listed. Null if request fails.


prefix

public java.lang.String prefix
The prefix echoed back from the request. Null if request fails.


marker

public java.lang.String marker
The marker echoed back from the request. Null if request fails.


delimiter

public java.lang.String delimiter
The delimiter echoed back from the request. Null if not specified in the request, or if it fails.


maxKeys

public int maxKeys
The maxKeys echoed back from the request if specified. 0 if request fails.


isTruncated

public boolean isTruncated
Indicates if there are more results to the list. True if the current list results have been truncated. false if request fails.


nextMarker

public java.lang.String nextMarker
Indicates what to use as a marker for subsequent list requests in the event that the results are truncated. Present only when a delimiter is specified. Null if request fails.


entries

public java.util.List entries
A List of ListEntry objects representing the objects in the given bucket. Null if the request fails.


commonPrefixEntries

public java.util.List commonPrefixEntries
A List of CommonPrefixEntry objects representing the common prefixes of the keys that matched up to the delimiter. Null if the request fails.

Constructor Detail

ListBucketResponse

public ListBucketResponse(java.net.HttpURLConnection connection)
                   throws java.io.IOException