Package com.attivio.sdk.scanner.http
Interface HttpDataSourceScanner
-
public interface HttpDataSourceScannerThe scanner should implement this interface if it retrieves data using an Http client. The Attivio framework will callsetHttpProvider(com.attivio.sdk.scanner.http.HttpClientProvider)to pass a provider to this scanner. By defaultgetHttpClientProviderFactory()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 thiscom.attivio.sdk.scanner.httppackage. 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HttpClientProviderFactorygetHttpClientProviderFactory()voidsetHttpProvider(HttpClientProvider provider)
-
-
-
Method Detail
-
getHttpClientProviderFactory
default HttpClientProviderFactory getHttpClientProviderFactory()
-
setHttpProvider
void setHttpProvider(HttpClientProvider provider)
-
-