diff --git a/src/main/java/io/fabric8/mockwebserver/crud/AttributeSet.java b/src/main/java/io/fabric8/mockwebserver/crud/AttributeSet.java index b97e249..f4f6df8 100644 --- a/src/main/java/io/fabric8/mockwebserver/crud/AttributeSet.java +++ b/src/main/java/io/fabric8/mockwebserver/crud/AttributeSet.java @@ -101,6 +101,10 @@ public int hashCode() { return attributes != null ? attributes.hashCode() : 0; } + public Attribute getAttribute(String key) { + return attributes.get(new Key(key)); + } + @Override public String toString() { return "{" +