/src/main/java/org/htmlunit/html/HtmlEmbed.java
} IOUtils.copy( content, fos) ;
IOUtils.copy ( content, fos ) ; }
final WebClient webclient = page.getWebClient(); final URL url = page.getFullyQualifiedUrl(getAttributeDirect(SRC_ATTRIBUTE)); final WebRequest request = new WebRequest(url, page.getCharset(), page.getUrl()); final WebResponse webResponse = webclient.loadWebResponse(request); try (OutputStream fos = Files.newOutputStream(file.toPath()); InputStream content = webResponse.getContentAsStream()) { <extra_id_0> } @Override public DisplayStyle getDefaultStyleDisplay() { return DisplayStyle.INLINE; } }