public ContentBuilder < P > as ( InputStream content ) { try { return as ( IOUtils . toString ( content , StandardCharsets . UTF_8 ) ) ; } catch ( IOException e ) { throw new IllegalArgumentException ( "Failed to read content" , e ) ; } }
Sets the content .