GetResponse Class Reference

Inherits com::amazon::s3::Response.

Collaboration diagram for GetResponse:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GetResponse (HttpURLConnection connection) throws IOException

Public Attributes

S3Object object

Static Package Functions

static byte[] slurpInputStream (InputStream stream) throws IOException

Private Member Functions

Map extractMetadata (HttpURLConnection connection)


Detailed Description

A Response object returned from AWSAuthConnection.get(). Exposes the attribute object, which represents the retrieved object.

Constructor & Destructor Documentation

GetResponse ( HttpURLConnection  connection  )  throws IOException

Pulls a representation of an S3Object out of the HttpURLConnection response.


Member Function Documentation

Map extractMetadata ( HttpURLConnection  connection  )  [private]

Examines the response's header fields and returns a Map from String to List of Strings representing the object's metadata.

static byte [] slurpInputStream ( InputStream  stream  )  throws IOException [static, package]

Read the input stream and dump it all into a big byte array


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:29 2012 for Project Wonder by  doxygen 1.5.8