@ Override @ Deprecated public ContentResult fetchContent ( String contentId ) throws IOException { try { String contentResource = resourceCache . getCiResourceUri ( ) ; URIBuilder builder = new URIBuilder ( contentResource ) ; builder . setParameter ( "cid" , contentId ) ; URI uri = builder . build ( ) ; return restClient . get ( uri . toString ( ) , contentResultFactory ) ; } catch ( URISyntaxException e ) { throw new IllegalStateException ( "Failed to create content resource uri." , e ) ; } }
Fetch the content for the specified content id .