com.heroku.api.request
Interface Request<T>

All Known Subinterfaces:
LoginRequest
All Known Implementing Classes:
AddonInstall, AddonList, AddonRemove, AppAddonsList, AppCreate, AppDestroy, AppInfo, AppList, AppRename, BasicAuthLogin, CollabList, ConfigAdd, ConfigList, ConfigRemove, KeyAdd, KeyList, KeyRemove, ListReleases, Log, ProcessList, ReleaseInfo, Restart, Restart.NamedProcessRestart, Restart.ProcessTypeRestart, Rollback, Run, Scale, SharingAdd, SharingRemove, SharingTransfer

public interface Request<T>


Method Summary
 String getBody()
           
 String getEndpoint()
           
 Map<String,String> getHeaders()
           
 Http.Method getHttpMethod()
           
 T getResponse(byte[] bytes, int status)
           
 Http.Accept getResponseType()
           
 boolean hasBody()
           
 

Method Detail

getHttpMethod

Http.Method getHttpMethod()

getEndpoint

String getEndpoint()

hasBody

boolean hasBody()

getBody

String getBody()

getResponseType

Http.Accept getResponseType()

getHeaders

Map<String,String> getHeaders()

getResponse

T getResponse(byte[] bytes,
              int status)


Copyright © 2012. All Rights Reserved.