Interface HttpDataSourceScanner


  • public interface HttpDataSourceScanner
    The scanner should implement this interface if it retrieves data using an Http client. The Attivio framework will call setHttpProvider(com.attivio.sdk.scanner.http.HttpClientProvider) to pass a provider to this scanner. By default getHttpClientProviderFactory() returns the Attivio implementation of the Http provider factory. But the scanner can override it to return a custom factory (see the SDK sample code).

    In addition to HttpDataSourceScanner, the scanner can implement any combination of the XXXAuthentication interfaces provided in this com.attivio.sdk.scanner.http package. By implementing these interfaces, the scanner can take advantage of the Http authentication protocols implemented by Attivio.

    If the scanner implements multiple XXXAuthentication interfaces, Attivio will use the one that is configured when connector is defined.