de.phleisch.app.itsucks.job.download.http.impl
Class HttpRetrieverFactory

java.lang.Object
  extended by de.phleisch.app.itsucks.job.download.http.impl.HttpRetrieverFactory
All Implemented Interfaces:
DataRetrieverFactory

public class HttpRetrieverFactory
extends java.lang.Object
implements DataRetrieverFactory


Field Summary
protected static java.lang.String DEFAULT_USER_AGENT
           
static java.lang.String HTTP_BEHAVIOUR_CONFIG_PARAMETER
           
static java.lang.String HTTP_COOKIE_CONFIG_PARAMETER
           
static java.lang.String HTTP_REFERER_CONFIG_PARAMETER
           
 
Constructor Summary
HttpRetrieverFactory()
           
 
Method Summary
 UrlDataRetriever createDataRetriever(java.net.URL pUrl, Context pGroupContext, java.util.List<JobParameter> pParameterList)
           
protected static HttpRetrieverConfiguration createDefaultConfiguration()
           
 ResumeUrlDataRetriever createResumeDataRetriever(UrlDataRetriever pDataRetriever, java.io.File pFile)
           
protected  JobParameter findParameter(java.lang.String pString, java.util.List<JobParameter> pParameterList)
           
protected  HttpRetrieverConfiguration getHttpRetrieverConfigurationFromContext(Context jobContext)
           
protected  void setHttpRetrieverConfigurationToContext(HttpRetrieverConfiguration pConfiguration, Context jobContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

HttpRetrieverFactory

public HttpRetrieverFactory()
Method Detail

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.