Added toString() methods.
This commit is contained in:
parent
91bee2a688
commit
c01fd85adb
@ -76,6 +76,10 @@ public final class MetaData<R extends RestResource<R>> {
|
||||
map.remove(key);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s", map);
|
||||
}
|
||||
/**
|
||||
* Gson Type adapter for {@link MetaData}. The serialized representation on wire is just a
|
||||
* Map<String, String>
|
||||
|
@ -109,4 +109,10 @@ public final class RestCallSpec {
|
||||
public Type getResourceType() {
|
||||
return resourceType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("path: %s, resourceType: %s, requestSpec: %s, responseSpec: %s",
|
||||
path, resourceType, requestSpec, responseSpec);
|
||||
}
|
||||
}
|
||||
|
@ -44,4 +44,9 @@ public class MetaDataMap<R extends RestResource<R>> {
|
||||
}
|
||||
return metaData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("%s", map);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user