public static final class HttpDataSource.RequestProperties extends Object
| Constructor and Description |
|---|
RequestProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears all request properties.
|
void |
clearAndSet(Map<String,String> properties)
Removes all properties previously existing and sets the keys and values of the map.
|
Map<String,String> |
getSnapshot()
Gets a snapshot of the request properties.
|
void |
remove(String name)
Removes a request property by name.
|
void |
set(Map<String,String> properties)
Sets the keys and values contained in the map.
|
void |
set(String name,
String value)
Sets the specified property
value for the specified name. |
public void set(String name, String value)
value for the specified name. If a property for
this name previously existed, the old value is replaced by the specified value.name - The name of the request property.value - The value of the request property.public void set(Map<String,String> properties)
properties - The request properties.public void clearAndSet(Map<String,String> properties)
properties - The request properties.public void remove(String name)
name - The name of the request property to remove.public void clear()