Package io.revealbi.core.data
Class RVWebResourceDataSource
java.lang.Object
io.revealbi.core.data.RVDashboardDataSource
io.revealbi.core.data.RVWebResourceDataSource
Web resource data source, used to download files from HTTP URL's using GET method.
See
RVRESTDataSource to use other HTTP methods or to customize parameters, headers and body to sent.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUrl()URL to the web resource, is expected to be a URL with HTTP or HTTPS scheme.booleanBoolean flag indicating if anonymous authentication should be used for this data source or credentials must be requested to the containing application.URL to the web resource, is expected to be a URL with HTTP or HTTPS scheme.booleansetUseAnonymousAuthentication(boolean value) Boolean flag indicating if anonymous authentication should be used for this data source or credentials must be requested to the containing application.Methods inherited from class io.revealbi.core.data.RVDashboardDataSource
getDefaultRefreshRate, getId, getSubtitle, getTitle, setDefaultRefreshRate, setId, setSubtitle, setTitle
-
Field Details
-
PROVIDER_KEY
- See Also:
-
-
Constructor Details
-
RVWebResourceDataSource
public RVWebResourceDataSource()
-
-
Method Details
-
setUrl
URL to the web resource, is expected to be a URL with HTTP or HTTPS scheme.- Parameters:
value-- Returns:
-
getUrl
URL to the web resource, is expected to be a URL with HTTP or HTTPS scheme.- Returns:
-
setUseAnonymousAuthentication
public boolean setUseAnonymousAuthentication(boolean value) Boolean flag indicating if anonymous authentication should be used for this data source or credentials must be requested to the containing application.- Parameters:
value-- Returns:
-
getUseAnonymousAuthentication
public boolean getUseAnonymousAuthentication()Boolean flag indicating if anonymous authentication should be used for this data source or credentials must be requested to the containing application.- Returns:
-
getProviderKey
- Specified by:
getProviderKeyin classRVDashboardDataSource
-