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:
- Serialized Form
-
-
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, getLoadTime, getResponseHeaders, getResponseHeaderValue, getStatusCode, getStatusMessage, getWebRequest, isSuccess, isSuccessOrUseProxy, isSuccessOrUseProxyOrNotModified
-
-
-
-
Constructor Detail
-
JSONWebResponse
public JSONWebResponse(org.htmlunit.WebResponse webResponse) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-