public abstract class APIMethod extends Object
Constructor and Description |
---|
APIMethod() |
APIMethod(String methodUri) |
Modifier and Type | Method and Description |
---|---|
RequestResponse |
call() |
String |
getMethodUri() |
String |
getType() |
static Boolean |
hasProxy() |
protected abstract InputStream |
performRequest() |
static void |
removeProxy() |
APIMethod |
setMethodURI(String methodURI) |
static void |
setProxy(String proxyAddress,
int proxyPort) |
public APIMethod()
public APIMethod(String methodUri)
protected abstract InputStream performRequest() throws Exception
Exception
public static void setProxy(String proxyAddress, int proxyPort)
public static void removeProxy()
public RequestResponse call() throws Exception
Exception
public static Boolean hasProxy()
public String getType()
public String getMethodUri()
Copyright © 2013. All Rights Reserved.