Interface ResponseProcessor

All Known Implementing Classes:
AbstractResponseProcessor, ResponseContentProcessor

public interface ResponseProcessor
Using response content processors, one can modify the content of a response body right after download but still before the content is being parsed or compiled. This can be useful if the original content screws up HtmlUnit and the application cannot be fixed right now.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Processes the content of a response.
  • Method Details

    • processResponse

      WebResponse processResponse(WebResponse webResponse)
      Processes the content of a response.
      Parameters:
      webResponse - the web response to modify
      Returns:
      the (potentially) modified web response