org.javaswift.joss.command.impl.container
Class ListObjectsCommandImpl

java.lang.Object
  extended by org.javaswift.joss.command.impl.core.AbstractCommand<M,N>
      extended by org.javaswift.joss.command.impl.core.AbstractSecureCommand<M,N>
          extended by org.javaswift.joss.command.impl.container.AbstractContainerCommand<org.apache.http.client.methods.HttpGet,Collection<StoredObject>>
              extended by org.javaswift.joss.command.impl.container.ListObjectsCommandImpl
All Implemented Interfaces:
Closeable, Callable<Collection<StoredObject>>, ListObjectsCommand, Command<Collection<StoredObject>>

public class ListObjectsCommandImpl
extends AbstractContainerCommand<org.apache.http.client.methods.HttpGet,Collection<StoredObject>>
implements ListObjectsCommand


Field Summary
protected  Container container
           
 
Fields inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
LOG, request, response
 
Constructor Summary
ListObjectsCommandImpl(Account account, org.apache.http.client.HttpClient httpClient, Access access, Container container, ListInstructions listInstructions)
           
 
Method Summary
protected  org.apache.http.client.methods.HttpGet createRequest(String url)
           
protected  Collection<StoredObject> getReturnObject(org.apache.http.HttpResponse response)
           
 HttpStatusChecker[] getStatusCheckers()
           
 
Methods inherited from class org.javaswift.joss.command.impl.core.AbstractSecureCommand
call, getURL, setConnectionKeepAlive
 
Methods inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
addHeaders, close, closeStreamAutomatically, createObjectMapper, modifyURI, setAllowErrorLog, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.javaswift.joss.command.shared.core.Command
call
 

Field Detail

container

protected Container container
Constructor Detail

ListObjectsCommandImpl

public ListObjectsCommandImpl(Account account,
                              org.apache.http.client.HttpClient httpClient,
                              Access access,
                              Container container,
                              ListInstructions listInstructions)
Method Detail

getReturnObject

protected Collection<StoredObject> getReturnObject(org.apache.http.HttpResponse response)
                                            throws IOException
Overrides:
getReturnObject in class AbstractCommand<org.apache.http.client.methods.HttpGet,Collection<StoredObject>>
Throws:
IOException

createRequest

protected org.apache.http.client.methods.HttpGet createRequest(String url)
Specified by:
createRequest in class AbstractCommand<org.apache.http.client.methods.HttpGet,Collection<StoredObject>>

getStatusCheckers

public HttpStatusChecker[] getStatusCheckers()
Specified by:
getStatusCheckers in class AbstractCommand<org.apache.http.client.methods.HttpGet,Collection<StoredObject>>


Copyright © 2012-2014 42 BV. All Rights Reserved.