public abstract class CustomAuthHTTPConnector
extends com.ibm.commerce.foundation.dataload.http.AbstractHTTPConnector
com.ibm.commerce.foundation.dataload.http.test.MockCustomAuthenticator
....
Constructor and Description |
---|
CustomAuthHTTPConnector()
Default Constructor without any arguments.
|
CustomAuthHTTPConnector(java.util.Map<java.lang.String,java.lang.String> propMap)
Constructor which takes in the properties map as an argument.
|
Modifier and Type | Method and Description |
---|---|
abstract org.apache.http.client.HttpClient |
createHttpClient()
This abstract method must be implemented by classes extending this class.
|
java.util.Map<java.lang.String,java.lang.String> |
getConfigProperties()
Getter for the name-value properties specified in the web feed configuration file.
|
void |
setConfigProperties(java.util.Map<java.lang.String,java.lang.String> propMap)
Setter for the name-value properties as supplied in the web feed configuration file.
|
public CustomAuthHTTPConnector()
public CustomAuthHTTPConnector(java.util.Map<java.lang.String,java.lang.String> propMap)
propMap
- Name-value pairs of propertiespublic java.util.Map<java.lang.String,java.lang.String> getConfigProperties()
public void setConfigProperties(java.util.Map<java.lang.String,java.lang.String> propMap)
propMap
- - Name-value pairs of propertiespublic abstract org.apache.http.client.HttpClient createHttpClient() throws com.ibm.commerce.foundation.dataload.exception.HTTPConnectionException
This abstract method must be implemented by classes extending this class. The method must return create an instance of
org.apache.http.client.HttpClient
using the various properties supplied during the creation of the instance.
createHttpClient
in class com.ibm.commerce.foundation.dataload.http.AbstractHTTPConnector
com.ibm.commerce.foundation.dataload.exception.HTTPConnectionException