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 DataProvider
public String[] listMimeTypes()
listMimeTypes
in interface DataProvider
public ClientResponse retrieveResource(String resource, LDClientService client, Endpoint endpoint) throws DataRetrievalException
retrieveResource
in interface DataProvider
resource
- the resource to be retrievedendpoint
- the endpoint definitionDataRetrievalException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.