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

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.HttpHead,ContainerInformation>
              extended by org.javaswift.joss.command.impl.container.ContainerInformationCommandImpl
All Implemented Interfaces:
Closeable, Callable<ContainerInformation>, ContainerInformationCommand, Command<ContainerInformation>

public class ContainerInformationCommandImpl
extends AbstractContainerCommand<org.apache.http.client.methods.HttpHead,ContainerInformation>
implements ContainerInformationCommand


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

Constructor Detail

ContainerInformationCommandImpl

public ContainerInformationCommandImpl(Account account,
                                       org.apache.http.client.HttpClient httpClient,
                                       Access access,
                                       Container container,
                                       boolean allowErrorLog)
Method Detail

getReturnObject

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

createRequest

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

getStatusCheckers

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


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