Package org.htmlunit
Class WebResponseListener.StatusListener
java.lang.Object
org.htmlunit.WebResponseListener.StatusListener
- All Implemented Interfaces:
WebResponseListener
- Enclosing interface:
- WebResponseListener
public static final class WebResponseListener.StatusListener
extends Object
implements WebResponseListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.htmlunit.WebResponseListener
WebResponseListener.StatusListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
List<org.htmlunit.WebResponse>
void
onLoadWebResponse
(org.htmlunit.WebRequest webRequest, org.htmlunit.WebResponse webResponse)
-
Constructor Details
-
StatusListener
public StatusListener(int statusCode)
-
-
Method Details
-
onLoadWebResponse
public void onLoadWebResponse(org.htmlunit.WebRequest webRequest, org.htmlunit.WebResponse webResponse) throws IOException - Specified by:
onLoadWebResponse
in interfaceWebResponseListener
- Throws:
IOException
-
assertHasResponses
public void assertHasResponses() -
getResponses
-