org.javaswift.joss.command.impl.account
Class ListContainersCommandImpl

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.account.AbstractAccountCommand<org.apache.http.client.methods.HttpGet,Collection<Container>>
              extended by org.javaswift.joss.command.impl.account.ListContainersCommandImpl
All Implemented Interfaces:
Closeable, Callable<Collection<Container>>, ListContainersCommand, Command<Collection<Container>>

public class ListContainersCommandImpl
extends AbstractAccountCommand<org.apache.http.client.methods.HttpGet,Collection<Container>>
implements ListContainersCommand


Field Summary
protected  Account account
           
 
Fields inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
LOG, request, response
 
Constructor Summary
ListContainersCommandImpl(Account account, org.apache.http.client.HttpClient httpClient, Access access, ListInstructions listInstructions)
           
 
Method Summary
protected  org.apache.http.client.methods.HttpGet createRequest(String url)
           
protected  Collection<Container> 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

account

protected Account account
Constructor Detail

ListContainersCommandImpl

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

getReturnObject

protected Collection<Container> getReturnObject(org.apache.http.HttpResponse response)
                                         throws IOException
Overrides:
getReturnObject in class AbstractCommand<org.apache.http.client.methods.HttpGet,Collection<Container>>
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<Container>>

getStatusCheckers

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


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