public abstract class JsonHttpPropertyRequest extends HttpPropertyProvider.HttpPropertyRequest
Map>
instance.Constructor and Description |
---|
JsonHttpPropertyRequest(Map<String,String> propertyMappings)
Create a property request.
|
Modifier and Type | Method and Description |
---|---|
void |
populateResource(Resource resource,
InputStream inputStream)
Populate the given resource from the given input stream.
|
getPropertyMappings, getSupportedProperties, getUrl
public void populateResource(Resource resource, InputStream inputStream) throws SystemException
HttpPropertyProvider.HttpPropertyRequest
populateResource
in class HttpPropertyProvider.HttpPropertyRequest
resource
- the Ambari resource to populateinputStream
- the input stream from the HTTP requestSystemException
- if the resource can not be populatedCopyright © 2022 Apache Software Foundation. All rights reserved.