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

java.lang.Object
  extended by org.javaswift.joss.command.impl.core.AbstractCommand<M,N>
      extended by org.javaswift.joss.command.impl.core.AbstractSecureCommand<org.apache.http.client.methods.HttpGet,Tenants>
          extended by org.javaswift.joss.command.impl.account.TenantCommandImpl
All Implemented Interfaces:
Closeable, Callable<Tenants>, TenantCommand, Command<Tenants>

public class TenantCommandImpl
extends AbstractSecureCommand<org.apache.http.client.methods.HttpGet,Tenants>
implements TenantCommand


Field Summary
 
Fields inherited from class org.javaswift.joss.command.impl.core.AbstractCommand
LOG, request, response
 
Constructor Summary
TenantCommandImpl(Account account, org.apache.http.client.HttpClient httpClient, Access access, String url)
           
 
Method Summary
protected  org.apache.http.client.methods.HttpGet createRequest(String url)
           
protected  Tenants getReturnObject(org.apache.http.HttpResponse response)
           
protected  HttpStatusChecker[] getStatusCheckers()
           
protected static String modifyUrl(String authUrl)
           
 
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

TenantCommandImpl

public TenantCommandImpl(Account account,
                         org.apache.http.client.HttpClient httpClient,
                         Access access,
                         String url)
Method Detail

modifyUrl

protected static String modifyUrl(String authUrl)

getReturnObject

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

getStatusCheckers

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


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