Class AbstractResponseProcessor

java.lang.Object
com.xceptance.xlt.api.util.AbstractResponseProcessor
All Implemented Interfaces:
ResponseProcessor
Direct Known Subclasses:
ResponseContentProcessor

public abstract class AbstractResponseProcessor extends Object implements ResponseProcessor
An abstract super class for ResponseProcessor implementations.
  • Constructor Details

    • AbstractResponseProcessor

      public AbstractResponseProcessor()
  • Method Details

    • createWebResponse

      protected WebResponse createWebResponse(WebResponse originalWebResponse, byte[] content)
      Creates a new web response from the given original web response and the new content.
      Parameters:
      originalWebResponse - the original web response
      content - the new content
      Returns:
      a new web response
    • createWebResponse

      protected WebResponse createWebResponse(WebResponse originalWebResponse, String content)
      Creates a new web response from the given original web response and the new content.
      Parameters:
      originalWebResponse - the original web response
      content - the new content
      Returns:
      a new web response