Added addHeader in the interface

This commit is contained in:
Luca Frosini 2023-03-01 14:23:11 +01:00
parent d4ba9022d4
commit 91a03750a0
2 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,8 @@ public interface ResourceRegistryClient {
public boolean isIncludeContextsInHeader();
public void setIncludeContextsInHeader(boolean includeContextsInHeader);
public void addHeader(String name, String value);
public List<Context> getAllContext() throws ResourceRegistryException;

View File

@ -121,6 +121,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient {
};
@Override
public void addHeader(String name, String value) {
headers.put(name, value);
}