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
  • 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 interface WebResponseListener
      Throws:
      IOException
    • assertHasResponses

      public void assertHasResponses()
    • getResponses

      public List<org.htmlunit.WebResponse> getResponses()