|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.authorize.util.HttpClient
public class HttpClient
Transportation object used to facilitate the communication with the respective gateway.
| Field Summary | |
|---|---|
static String |
ENCODING
|
| Constructor Summary | |
|---|---|
HttpClient()
|
|
| Method Summary | |
|---|---|
static String |
convertStreamToString(InputStream is)
Converts a response inputstream into a string. |
static Map<ResponseField,String> |
execute(Environment environment,
Transaction transaction)
Executes a Transaction against a given Environment. |
static BasicXmlDocument |
executeXML(Environment environment,
Transaction transaction)
Executes a Transaction against a given Environment. |
static void |
setProxyIfRequested(org.apache.http.impl.client.DefaultHttpClient httpClient)
if proxy use is requested, set http-client appropriately |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ENCODING
| Constructor Detail |
|---|
public HttpClient()
| Method Detail |
|---|
public static Map<ResponseField,String> execute(Environment environment,
Transaction transaction)
environment - transaction -
public static String convertStreamToString(InputStream is)
is -
public static BasicXmlDocument executeXML(Environment environment,
Transaction transaction)
environment - transaction -
public static void setProxyIfRequested(org.apache.http.impl.client.DefaultHttpClient httpClient)
httpClient - the client to add proxy values to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||