Class JenkinsRule.JSONWebResponse

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    JenkinsRule

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

      • Fields inherited from class com.gargoylesoftware.htmlunit.WebResponse

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

      Constructors 
      Constructor Description
      JSONWebResponse​(com.gargoylesoftware.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 com.gargoylesoftware.htmlunit.util.WebResponseWrapper

        cleanUp, defaultCharsetUtf8, getContentAsStream, getContentAsStreamWithBomIfApplicable, getContentAsString, getContentAsString, getContentAsString, getContentCharset, getContentCharsetOrNull, getContentLength, getContentType, getLoadTime, getResponseHeaders, getResponseHeaderValue, getStatusCode, getStatusMessage, getWebRequest, isSuccess, isSuccessOrUseProxy, isSuccessOrUseProxyOrNotModified
    • Method Detail

      • getJSONObject

        public net.sf.json.JSONObject getJSONObject()