@Test public void testHasResourceId() { MultiStatusResponse response = new MultiStatusResponse(Collections.singletonMap("foo", 42)); assertThat(response.hasResourceId("foo")).isTrue(); assertThat(response.hasResourceId("bar")).isFalse(); }
public boolean hasResourceId(String resId) { return responses.containsKey(resId); }
MultiStatusResponse { public boolean hasResourceId(String resId) { return responses.containsKey(resId); } }
MultiStatusResponse { public boolean hasResourceId(String resId) { return responses.containsKey(resId); } MultiStatusResponse(Map<String, Integer> responses); }
MultiStatusResponse { public boolean hasResourceId(String resId) { return responses.containsKey(resId); } MultiStatusResponse(Map<String, Integer> responses); static MultiStatusResponse fromJson(ObjectMapper mapper, InputStream stream); Map<String, Integer> getResponses(); int responseCount(); boolean isAllSuccess(); boolean hasResourceId(String resId); int getStatus(String resId); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
MultiStatusResponse { public boolean hasResourceId(String resId) { return responses.containsKey(resId); } MultiStatusResponse(Map<String, Integer> responses); static MultiStatusResponse fromJson(ObjectMapper mapper, InputStream stream); Map<String, Integer> getResponses(); int responseCount(); boolean isAllSuccess(); boolean hasResourceId(String resId); int getStatus(String resId); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }