Package org.jets3t.servlets.gatekeeper
Class BucketLister
java.lang.Object
org.jets3t.servlets.gatekeeper.BucketLister
- Direct Known Subclasses:
DefaultBucketLister
Provides a listing of objects in an S3 account to a client application that cannot query
the account for itself.
The object listing may contain all the objects in the bucket, or any subset as is appropriate for the client application or user in question.
- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
listObjects
(GatekeeperMessage gatekeeperMessage, ClientInformation clientInformation) Create in the GatekeeperMessage object a list of SignatureRequest objects capturing details about the S3 objects contained in a bucket.
-
Constructor Details
-
BucketLister
public BucketLister(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException - Throws:
javax.servlet.ServletException
-
-
Method Details
-
listObjects
public abstract void listObjects(GatekeeperMessage gatekeeperMessage, ClientInformation clientInformation) throws Exception Create in the GatekeeperMessage object a list of SignatureRequest objects capturing details about the S3 objects contained in a bucket. The client application will interpret the SignatureRequest object details to reconstruct the objects.- Parameters:
gatekeeperMessage
- the message object that was received, and in which the object listing to be returned is stored.clientInformation
- information about the client end-point this request was received from.- Throws:
Exception
-