Package org.jvnet.hudson.test
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
-
Method Summary
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
-
Constructor Details
-
JSONWebResponse
- Throws:
IllegalArgumentException
-
-
Method Details
-
getJSONObject
public net.sf.json.JSONObject getJSONObject()
-