public class RestClientUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCEPT |
static String |
APPLICATION_JSON |
static String |
CONTENT_TYPE |
Modifier | Constructor and Description |
---|---|
protected |
RestClientUtil() |
Modifier and Type | Method and Description |
---|---|
static org.json.JSONObject |
getJson(String url) |
static void |
postToService(String url,
Object object) |
public static final String APPLICATION_JSON
public static final String ACCEPT
public static final String CONTENT_TYPE
Copyright © 2016–2018. All rights reserved.