de.phleisch.app.itsucks.job.download.http.impl
Class HttpRetrieverFactory
java.lang.Object
de.phleisch.app.itsucks.job.download.http.impl.HttpRetrieverFactory
- All Implemented Interfaces:
- DataRetrieverFactory
public class HttpRetrieverFactory
- extends java.lang.Object
- implements DataRetrieverFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_BEHAVIOUR_CONFIG_PARAMETER
public static final java.lang.String HTTP_BEHAVIOUR_CONFIG_PARAMETER
- See Also:
- Constant Field Values
HTTP_COOKIE_CONFIG_PARAMETER
public static final java.lang.String HTTP_COOKIE_CONFIG_PARAMETER
- See Also:
- Constant Field Values
HTTP_REFERER_CONFIG_PARAMETER
public static final java.lang.String HTTP_REFERER_CONFIG_PARAMETER
- See Also:
- Constant Field Values
DEFAULT_USER_AGENT
protected static final java.lang.String DEFAULT_USER_AGENT
- See Also:
- Constant Field Values
HttpRetrieverFactory
public HttpRetrieverFactory()
createDataRetriever
public UrlDataRetriever createDataRetriever(java.net.URL pUrl,
Context pGroupContext,
java.util.List<JobParameter> pParameterList)
- Specified by:
createDataRetriever in interface DataRetrieverFactory
createDefaultConfiguration
protected static HttpRetrieverConfiguration createDefaultConfiguration()
findParameter
protected JobParameter findParameter(java.lang.String pString,
java.util.List<JobParameter> pParameterList)
createResumeDataRetriever
public ResumeUrlDataRetriever createResumeDataRetriever(UrlDataRetriever pDataRetriever,
java.io.File pFile)
- Specified by:
createResumeDataRetriever in interface DataRetrieverFactory
getHttpRetrieverConfigurationFromContext
protected HttpRetrieverConfiguration getHttpRetrieverConfigurationFromContext(Context jobContext)
setHttpRetrieverConfigurationToContext
protected void setHttpRetrieverConfigurationToContext(HttpRetrieverConfiguration pConfiguration,
Context jobContext)
Copyright © 2010. All Rights Reserved.