Package com.xceptance.xlt.api.util
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WebResponse
processResponse(WebResponse webResponse)
Processes the content of a response.
-
-
-
Method Detail
-
processResponse
WebResponse processResponse(WebResponse webResponse)
Processes the content of a response.- Parameters:
webResponse
- the web response to modify- Returns:
- the (potentially) modified web response
-
-