org.javaswift.joss.command.impl.core
Class AbstractSecureCommand<M extends org.apache.http.client.methods.HttpRequestBase,N>

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>
All Implemented Interfaces:
Closeable, Callable<N>
Direct Known Subclasses:
AbstractAccountCommand, AbstractContainerCommand, AbstractObjectCommand, TenantCommandImpl

public abstract class AbstractSecureCommand<M extends org.apache.http.client.methods.HttpRequestBase,N>
extends AbstractCommand<M,N>


Field Summary
 
Fields inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
LOG, request, response
 
Constructor Summary
AbstractSecureCommand(Account account, org.apache.http.client.HttpClient httpClient, String url, String token)
           
 
Method Summary
 N call()
           
static String getURL(Access access, ObjectStoreEntity entity)
           
protected  void setConnectionKeepAlive()
           
 
Methods inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
addHeaders, close, closeStreamAutomatically, createObjectMapper, createRequest, getReturnObject, getStatusCheckers, modifyURI, setAllowErrorLog, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSecureCommand

public AbstractSecureCommand(Account account,
                             org.apache.http.client.HttpClient httpClient,
                             String url,
                             String token)
Method Detail

getURL

public static String getURL(Access access,
                            ObjectStoreEntity entity)

call

public N call()
Specified by:
call in interface Callable<N>
Overrides:
call in class AbstractCommand<M extends org.apache.http.client.methods.HttpRequestBase,N>

setConnectionKeepAlive

protected void setConnectionKeepAlive()


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