Class JenkinsRule.JSONWebResponse

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    JenkinsRule

    public static class JenkinsRule.JSONWebResponse
    extends org.htmlunit.util.WebResponseWrapper
    Convenience wrapper for JSON responses.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.htmlunit.WebResponse

        FORBIDDEN, INTERNAL_SERVER_ERROR, NO_CONTENT, NOT_FOUND, OK
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONWebResponse​(org.htmlunit.WebResponse webResponse)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      net.sf.json.JSONObject getJSONObject()  
      • Methods inherited from class org.htmlunit.util.WebResponseWrapper

        cleanUp, defaultCharsetUtf8, getContentAsStream, getContentAsStreamWithBomIfApplicable, getContentAsString, getContentAsString, getContentAsString, getContentCharset, getContentCharsetOrNull, getContentLength, getContentType, getHeaderContentCharset, getLoadTime, getResponseHeaders, getResponseHeaderValue, getStatusCode, getStatusMessage, getWebRequest, isSuccess, isSuccessOrUseProxy, isSuccessOrUseProxyOrNotModified, wasContentCharsetTentative
      • Methods inherited from class org.htmlunit.WebResponse

        getBlockReason, markAsBlocked, wasBlocked