Menu

#161 Provide a NoRefreshHandler

open
nobody
None
5
2012-10-21
2010-02-20
Cimballi
No

Something like this for the ones who don't want the page to be refreshed.

/*
/
public class NoRefreshHandler implements RefreshHandler {

/**
 */
public NoRefreshHandler() {
    super();
}

/**
 * @see com.gargoylesoftware.htmlunit.RefreshHandler#handleRefresh(com.gargoylesoftware.htmlunit.Page,
 * java.net.URL, int)
 */
@Override
public void handleRefresh(final Page arg0, final URL arg1, final int arg2)
throws IOException {
    // Nothing to do.
}

}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.