@Test public void requestHeaderCheck() throws Exception { NCMBRequest request = new NCMBRequest("https: Constants.HTTP_METHOD_GET, null, null, null, null, new JSONObject("{\"where\":{\"testKey\":\"testValue\"}}"), null, "6145f91061916580c742f806bab67649d10f45920246ff459404c46f00ff3e56", "1343d198b510a0315db1c03f3aa0e32418b7a743f8e4b47cbff670601345cf75", "2013-12-02T02:44:35.452Z"); Assert.assertEquals("6145f91061916580c742f806bab67649d10f45920246ff459404c46f00ff3e56", request.getRequestProperty("X-NCMB-Application-Key")); }
public String getRequestProperty(String key) { return this.requestProperties.get(key); }
NCMBRequest { public String getRequestProperty(String key) { return this.requestProperties.get(key); } }
NCMBRequest { public String getRequestProperty(String key) { return this.requestProperties.get(key); } NCMBRequest(String url, String method, String content, JSONObject queryParam, String sessionToken, String applicationKey, String clientKey);  NCMBRequest(String url, String method, String fileName, byte[] fileData, JSONObject aclJson, String sessionToken, String applicationKey, String clientKey);  NCMBRequest(String url, String method, String content,String fileName, byte[] fileData, String contentType, JSONObject queryParam, String sessionToken, String applicationKey, String clientKey, String timestamp); }
NCMBRequest { public String getRequestProperty(String key) { return this.requestProperties.get(key); } NCMBRequest(String url, String method, String content, JSONObject queryParam, String sessionToken, String applicationKey, String clientKey);  NCMBRequest(String url, String method, String fileName, byte[] fileData, JSONObject aclJson, String sessionToken, String applicationKey, String clientKey);  NCMBRequest(String url, String method, String content,String fileName, byte[] fileData, String contentType, JSONObject queryParam, String sessionToken, String applicationKey, String clientKey, String timestamp); URL getUrl(); String getMethod(); String getContent(); JSONObject getQueryString(); String getSessionToken(); String getApplicationKey(); String getClientKey(); byte[] getFileData(); String getFileName(); String getContentType(); String getSignatureHashData(); String getTimestamp(); String getRequestProperty(String key); HashMap<String, String> getAllRequestProperties(); }
NCMBRequest { public String getRequestProperty(String key) { return this.requestProperties.get(key); } NCMBRequest(String url, String method, String content, JSONObject queryParam, String sessionToken, String applicationKey, String clientKey);  NCMBRequest(String url, String method, String fileName, byte[] fileData, JSONObject aclJson, String sessionToken, String applicationKey, String clientKey);  NCMBRequest(String url, String method, String content,String fileName, byte[] fileData, String contentType, JSONObject queryParam, String sessionToken, String applicationKey, String clientKey, String timestamp); URL getUrl(); String getMethod(); String getContent(); JSONObject getQueryString(); String getSessionToken(); String getApplicationKey(); String getClientKey(); byte[] getFileData(); String getFileName(); String getContentType(); String getSignatureHashData(); String getTimestamp(); String getRequestProperty(String key); HashMap<String, String> getAllRequestProperties();  }