Class JenkinsRule.JSONWebResponse

java.lang.Object
org.htmlunit.WebResponse
org.htmlunit.util.WebResponseWrapper
org.jvnet.hudson.test.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:
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    net.sf.json.JSONObject
     

    Methods inherited from class org.htmlunit.util.WebResponseWrapper

    cleanUp, defaultCharsetUtf8, getContentAsStream, getContentAsStreamWithBomIfApplicable, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getJSONObject

      public net.sf.json.JSONObject getJSONObject()