public class SimpleHttp extends Object
| Modifier and Type | Method and Description |
|---|---|
org.codehaus.jackson.JsonNode |
asJson() |
String |
asString() |
static SimpleHttp |
doGet(String url) |
static SimpleHttp |
doPost(String url) |
SimpleHttp |
header(String name,
String value) |
SimpleHttp |
param(String name,
String value) |
public static SimpleHttp doGet(String url)
public static SimpleHttp doPost(String url)
public SimpleHttp header(String name, String value)
public SimpleHttp param(String name, String value)
public org.codehaus.jackson.JsonNode asJson()
throws IOException
IOExceptionpublic String asString() throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.