com.heroku.api.http
Class HttpUtil
java.lang.Object
com.heroku.api.http.HttpUtil
public class HttpUtil
- extends Object
TODO: Javadoc
- Author:
- Naaman Newbold
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpUtil
public HttpUtil()
encodeParameters
public static String encodeParameters(RequestConfig config,
Heroku.RequestKey... keys)
urlencode
public static String urlencode(String toEncode,
String messageIfFails)
noBody
public static UnsupportedOperationException noBody()
toURL
public static URL toURL(String url)
invalidLogin
public static HerokuAPIException invalidLogin()
invalidKeys
public static HerokuAPIException invalidKeys()
insufficientPrivileges
public static RequestFailedException insufficientPrivileges(int code,
byte[] bytes)
getBytes
public static byte[] getBytes(InputStream in)
getUTF8String
public static String getUTF8String(byte[] in)
Copyright © 2012. All Rights Reserved.