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
IOException
public String asString() throws IOException
IOException
Copyright © 2015. All Rights Reserved.