Searched refs:postData (Results 1 – 7 of 7) sorted by relevance
73 JSONObject postDataJsonObject = request.postData(); in request()74 String postData; in request() local79 postData = request.postDataJsonArray().toString(); in request()81 postData = postDataJsonObject.toString(); in request()85 postData = postData.replace("\\/", "/"); in request()88 out.write(toGzipBytes(postData)); in request()90 out.write(postData.getBytes(UTF_8)); in request()
47 public abstract JSONObject postData(); in postData() method in HttpRequest86 public abstract Builder setPostData(@NonNull JSONObject postData); in setPostData() argument
53 public static WfcWebPortalFragment newInstance(String url, String postData) { in newInstance() argument58 args.putString(KEY_POST_DATA_STRING, postData); in newInstance()72 String postData = arguments.getString(KEY_POST_DATA_STRING, ""); in onCreateView() local117 if (TextUtils.isEmpty(postData)) { in onCreateView()120 mWebView.postUrl(url, postData.getBytes()); in onCreateView()
93 public boolean showWebview(String url, String postData) { in showWebview() argument97 mWfcWebPortalFragment = WfcWebPortalFragment.newInstance(url, postData); in showWebview()
38 boolean showWebview(String url, String postData); in showWebview() argument
145 assertThat(httpRequest1.postData().getJSONArray("availableSpectrumInquiryRequests") in testHTTPRequestInitialization()149 assertThat(httpRequest1.postData().getJSONArray("availableSpectrumInquiryRequests") in testHTTPRequestInitialization()154 assertThat(httpRequest1.postData().getJSONArray("availableSpectrumInquiryRequests") in testHTTPRequestInitialization()164 assertThat(httpRequest2.postData().getJSONArray("availableSpectrumInquiryRequests") in testHTTPRequestInitialization()
205 String postData = "{\"key\":\"base64/base64+b\"}"; in request_postJson_doNotEscapeForwardSlash() local210 .setPostData(new JSONObject(postData)) in request_postJson_doNotEscapeForwardSlash()224 assertThat(connection.getBytesWrittenToOutputStream()).isEqualTo(postData.getBytes(UTF_8)); in request_postJson_doNotEscapeForwardSlash()