List of usage examples for org.springframework.restdocs.operation OperationResponse getContent
byte[] getContent();
From source file:org.springframework.restdocs.hypermedia.AbstractJsonLinkExtractor.java
@Override @SuppressWarnings("unchecked") public Map<String, List<Link>> extractLinks(OperationResponse response) throws IOException { Map<String, Object> jsonContent = this.objectMapper.readValue(response.getContent(), Map.class); return extractLinks(jsonContent); }