Package com.xceptance.xlt.api.util
Class AbstractResponseProcessor
java.lang.Object
com.xceptance.xlt.api.util.AbstractResponseProcessor
- All Implemented Interfaces:
ResponseProcessor
- Direct Known Subclasses:
ResponseContentProcessor
An abstract super class for
ResponseProcessor
implementations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected WebResponse
createWebResponse
(WebResponse originalWebResponse, byte[] content) Creates a new web response from the given original web response and the new content.protected WebResponse
createWebResponse
(WebResponse originalWebResponse, String content) Creates a new web response from the given original web response and the new content.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.xceptance.xlt.api.util.ResponseProcessor
processResponse
-
Constructor Details
-
AbstractResponseProcessor
public AbstractResponseProcessor()
-
-
Method Details
-
createWebResponse
Creates a new web response from the given original web response and the new content.- Parameters:
originalWebResponse
- the original web responsecontent
- the new content- Returns:
- a new web response
-
createWebResponse
Creates a new web response from the given original web response and the new content.- Parameters:
originalWebResponse
- the original web responsecontent
- the new content- Returns:
- a new web response
-