| | |
| | | return null; |
| | | } |
| | | |
| | | /** ISAPI GET(Digest 认证) */ |
| | | public static String doIsapiGet(String host, int port, String username, String password, String uri) { |
| | | return IsapiHttpUtil.doGet(host, port, username, password, uri); |
| | | } |
| | | |
| | | /** ISAPI POST(Digest 认证) */ |
| | | public static String doIsapiPost(String host, int port, String username, String password, String uri, String xmlBody) { |
| | | return IsapiHttpUtil.doPost(host, port, username, password, uri, xmlBody, "application/xml"); |
| | | } |
| | | |
| | | /** ISAPI 媒体下载 */ |
| | | public static InputStream doIsapiDownload(String host, int port, String username, String password, |
| | | String uri, String downloadBody) { |
| | | return IsapiHttpUtil.doDownload(host, port, username, password, uri, downloadBody); |
| | | } |
| | | |
| | | public static String connection(String url,String method,String data,String contentType,boolean ignoreSSL){ |
| | | HttpsURLConnection connection = null; |
| | | try { |