public final class WebUtilsHtmlUnit
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static byte[] |
getPdfAsByteArray(com.gargoylesoftware.htmlunit.html.HtmlAnchor link) |
Read the account statement PDF from an HTMLUnit anchor into a byte array.
|
static boolean |
webResponseIsJson(com.gargoylesoftware.htmlunit.WebResponse webResponse) |
Überprüft die Webantwort, ob der http Statuscode 200 ist und die Antwort
im JSON-Format vorliegt.
|
public static byte[] getPdfAsByteArray(com.gargoylesoftware.htmlunit.html.HtmlAnchor link)
link
- the HMTLUnit anchor to the PDFpublic static boolean webResponseIsJson(com.gargoylesoftware.htmlunit.WebResponse webResponse)
webResponse
-