protected static class RunStyleHtmlUnit.HtmlUnitThread extends Thread implements com.gargoylesoftware.htmlunit.AlertHandler, com.gargoylesoftware.htmlunit.IncorrectnessListener, com.gargoylesoftware.htmlunit.OnbeforeunloadHandler
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
RunStyleHtmlUnit.HtmlUnitThread(com.gargoylesoftware.htmlunit.BrowserVersion browser,
String url,
com.google.gwt.core.ext.TreeLogger treeLogger,
boolean developmentMode) |
Modifier and Type | Method and Description |
---|---|
void |
handleAlert(com.gargoylesoftware.htmlunit.Page page,
String message) |
boolean |
handleEvent(com.gargoylesoftware.htmlunit.Page page,
String returnValue) |
void |
notify(String message,
Object origin) |
void |
run() |
protected void |
setupWebClient(com.gargoylesoftware.htmlunit.WebClient webClient) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public RunStyleHtmlUnit.HtmlUnitThread(com.gargoylesoftware.htmlunit.BrowserVersion browser, String url, com.google.gwt.core.ext.TreeLogger treeLogger, boolean developmentMode)
public void handleAlert(com.gargoylesoftware.htmlunit.Page page, String message)
handleAlert
in interface com.gargoylesoftware.htmlunit.AlertHandler
public boolean handleEvent(com.gargoylesoftware.htmlunit.Page page, String returnValue)
handleEvent
in interface com.gargoylesoftware.htmlunit.OnbeforeunloadHandler
public void notify(String message, Object origin)
notify
in interface com.gargoylesoftware.htmlunit.IncorrectnessListener
protected void setupWebClient(com.gargoylesoftware.htmlunit.WebClient webClient)
Copyright © 2016. All rights reserved.