public class HTMLPageSourceDownloader extends Object
Modifier and Type | Field and Description |
---|---|
static HashMap<String,String> |
acceptTypes |
static String |
MISSING_RESOURCES_LIST |
Constructor and Description |
---|
HTMLPageSourceDownloader() |
Modifier and Type | Method and Description |
---|---|
Attachment |
createAttachment(byte[] bytes,
URL url,
Request request) |
protected List<Attachment> |
downloadCssAndImages(String endpoint,
HttpRequest request) |
List<String> |
getMissingResourcesList() |
public static final String MISSING_RESOURCES_LIST
protected List<Attachment> downloadCssAndImages(String endpoint, HttpRequest request) throws MalformedURLException, IOException
MalformedURLException
IOException
public Attachment createAttachment(byte[] bytes, URL url, Request request) throws IOException
IOException
Copyright © 2019. All Rights Reserved.