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

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.HttpHead,AccountInformation>
              extended by org.javaswift.joss.command.impl.account.AccountInformationCommandImpl
All Implemented Interfaces:
Closeable, Callable<AccountInformation>, AccountInformationCommand, Command<AccountInformation>

public class AccountInformationCommandImpl
extends AbstractAccountCommand<org.apache.http.client.methods.HttpHead,AccountInformation>
implements AccountInformationCommand


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

AccountInformationCommandImpl

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

getReturnObject

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

getStatusCheckers

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


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