public interface DataProvider
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return the name of this data provider.
|
String[] |
listMimeTypes()
Return the list of mime types accepted by this data provider.
|
ClientResponse |
retrieveResource(String resource,
LDClientService client,
Endpoint endpoint)
Retrieve the data for a resource using the given http client and endpoint definition.
|
String getName()
String[] listMimeTypes()
ClientResponse retrieveResource(String resource, LDClientService client, Endpoint endpoint) throws DataRetrievalException
resource
- the resource to be retrievedendpoint
- the endpoint definitionDataRetrievalException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.