public class HttpClientImpl extends Object implements HttpClient
Constructor and Description |
---|
HttpClientImpl(String metacoApiId,
String metacoApiKey,
String metacoApiUrl,
Boolean metacoTestingMode) |
Modifier and Type | Method and Description |
---|---|
com.sun.jersey.api.client.ClientResponse |
doDelete(String url) |
com.sun.jersey.api.client.ClientResponse |
doGet(String url) |
com.sun.jersey.api.client.ClientResponse |
doPost(String url,
Object data) |
public com.sun.jersey.api.client.ClientResponse doPost(String url, Object data) throws MetacoClientException
doPost
in interface HttpClient
MetacoClientException
public com.sun.jersey.api.client.ClientResponse doGet(String url) throws MetacoClientException
doGet
in interface HttpClient
MetacoClientException
public com.sun.jersey.api.client.ClientResponse doDelete(String url) throws MetacoClientException
doDelete
in interface HttpClient
MetacoClientException
Copyright © 2016 Metaco. All rights reserved.