com.heroku.api.request.login
Class BasicAuthLogin

java.lang.Object
  extended by com.heroku.api.request.login.BasicAuthLogin
All Implemented Interfaces:
LoginRequest, Request<LoginVerification>

public class BasicAuthLogin
extends Object
implements LoginRequest


Constructor Summary
BasicAuthLogin(String username, String password)
           
 
Method Summary
 String getBody()
           
 String getEndpoint()
           
 Map<String,String> getHeaders()
           
 Http.Method getHttpMethod()
           
 LoginVerification getResponse(byte[] in, int code)
           
 Http.Accept getResponseType()
           
 boolean hasBody()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAuthLogin

public BasicAuthLogin(String username,
                      String password)
Method Detail

getHttpMethod

public Http.Method getHttpMethod()
Specified by:
getHttpMethod in interface Request<LoginVerification>

getEndpoint

public String getEndpoint()
Specified by:
getEndpoint in interface Request<LoginVerification>

hasBody

public boolean hasBody()
Specified by:
hasBody in interface Request<LoginVerification>

getBody

public String getBody()
Specified by:
getBody in interface Request<LoginVerification>

getResponseType

public Http.Accept getResponseType()
Specified by:
getResponseType in interface Request<LoginVerification>

getHeaders

public Map<String,String> getHeaders()
Specified by:
getHeaders in interface Request<LoginVerification>

getResponse

public LoginVerification getResponse(byte[] in,
                                     int code)
Specified by:
getResponse in interface Request<LoginVerification>


Copyright © 2012. All Rights Reserved.