public class BlockingProvider extends Object implements DataProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
PROVIDER_NAME |
| Constructor and Description |
|---|
BlockingProvider() |
| 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.
|
public static final String PROVIDER_NAME
public String getName()
getName in interface DataProviderpublic String[] listMimeTypes()
listMimeTypes in interface DataProviderpublic ClientResponse retrieveResource(String resource, LDClientService client, Endpoint endpoint) throws DataRetrievalException
retrieveResource in interface DataProviderresource - the resource to be retrievedendpoint - the endpoint definitionDataRetrievalExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.