com.heroku.api.request.login
Class BasicAuthLogin
java.lang.Object
com.heroku.api.request.login.BasicAuthLogin
- All Implemented Interfaces:
- LoginRequest, Request<LoginVerification>
public class BasicAuthLogin
- extends Object
- implements LoginRequest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicAuthLogin
public BasicAuthLogin(String username,
String password)
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.