Document DataSource.getResponseHeaders case-insensitivity

PiperOrigin-RevId: 315480048
This commit is contained in:
aquilescanta 2020-06-09 15:31:06 +01:00 committed by Ian Baker
parent 947485e2b7
commit a11f7b8cdd

View File

@ -74,6 +74,8 @@ public interface DataSource extends DataReader {
/**
* When the source is open, returns the response headers associated with the last {@link #open}
* call. Otherwise, returns an empty map.
*
* <p>Key look-up in the returned map is case-insensitive.
*/
default Map<String, List<String>> getResponseHeaders() {
return Collections.emptyMap();