Package esendex.sdk.java.http
Class HttpConnectorFactory
java.lang.Object
esendex.sdk.java.http.HttpConnectorFactory
Factory for the single HttpConnector of choice.
- Author:
- Mike Whittaker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpConnector
Gets the connector of choice.static HttpConnector
Gets the default connector.static void
Sets the connector of choice.
-
Constructor Details
-
HttpConnectorFactory
public HttpConnectorFactory()
-
-
Method Details
-
getDefaultConnector
Gets the default connector.- Returns:
- the connector
-
getConnector
Gets the connector of choice.- Returns:
- the connector
-
setConnector
Sets the connector of choice.- Parameters:
con
- the connector to set
-