|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ecwid.mailchimp.MailChimpClient
public class MailChimpClient
MailChimp API wrapper.
| Constructor Summary | |
|---|---|
MailChimpClient()
Constructs a MailChimpClient object accessing MailChimp API service point
through the default connection manager (currently HttpClientConnectionManager). |
|
MailChimpClient(MailChimpConnectionManager connection)
Constructs a MailChimpClient object accessing MailChimp API service point
through the specified connection manager. |
|
| Method Summary | ||
|---|---|---|
void |
close()
Release resources associated with the connection to MailChimp API service point. |
|
|
execute(MailChimpMethod<R> method)
Execute MailChimp API method. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailChimpClient()
MailChimpClient object accessing MailChimp API service point
through the default connection manager (currently HttpClientConnectionManager).
public MailChimpClient(MailChimpConnectionManager connection)
MailChimpClient object accessing MailChimp API service point
through the specified connection manager.
Use this constructor if the default connection manager
(currently HttpClientConnectionManager) is not suitable.
For instance, in GAE environment you should use JavaNetURLConnectionManager instead.
connection - connection manager to be used to access the service point| Method Detail |
|---|
public <R> R execute(MailChimpMethod<R> method)
throws IOException,
MailChimpException
method - MailChimp API method to be executed
IOException
MailChimpExceptionpublic void close()
close in interface Closeable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||