Added addHeader in the interface
This commit is contained in:
parent
d4ba9022d4
commit
91a03750a0
|
@ -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;
|
||||
|
|
|
@ -121,6 +121,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient {
|
|||
|
||||
};
|
||||
|
||||
@Override
|
||||
public void addHeader(String name, String value) {
|
||||
headers.put(name, value);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue