Class LightWeightPage

java.lang.Object
com.xceptance.xlt.api.htmlunit.LightWeightPage

public class LightWeightPage extends Object
A simple page object for light-weight operations.
  • Constructor Details

    • LightWeightPage

      public LightWeightPage(WebResponse webResponse, String timerName)
      Constructor.
      Parameters:
      webResponse - the web response
  • Method Details

    • getContent

      public String getContent()
      Returns the page content.
      Returns:
      the content
    • getHttpResponseCode

      public int getHttpResponseCode()
      Returns the status code of the web response.
      Returns:
      status code of response
    • getWebResponse

      public WebResponse getWebResponse()
      Returns the web response.
      Returns:
      web response
    • getTimerName

      public String getTimerName()
      Returns the timer name.
      Returns:
      timer name
    • getContentCharset

      public String getContentCharset()
      Returns the content character set.
      Returns:
      content character set
    • getCharset

      public Charset getCharset()
      Returns the content character set.
      Returns:
      content character set