org.javaswift.joss.command.impl.object
Class ObjectInformationCommandImpl

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.object.AbstractObjectCommand<org.apache.http.client.methods.HttpHead,ObjectInformation>
              extended by org.javaswift.joss.command.impl.object.ObjectInformationCommandImpl
All Implemented Interfaces:
Closeable, Callable<ObjectInformation>, Command<ObjectInformation>, ObjectInformationCommand

public class ObjectInformationCommandImpl
extends AbstractObjectCommand<org.apache.http.client.methods.HttpHead,ObjectInformation>
implements ObjectInformationCommand


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

ObjectInformationCommandImpl

public ObjectInformationCommandImpl(Account account,
                                    org.apache.http.client.HttpClient httpClient,
                                    Access access,
                                    StoredObject object,
                                    boolean allowErrorLog)
Method Detail

getReturnObject

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

getStatusCheckers

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


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