jni-android-sys 0.0.10

Autogenerated glue code for access Android JVM APIs from Rust
// WARNING:  This file was autogenerated by jni-bindgen.  Any changes to this file may be lost!!!


#[cfg(any(feature = "all", feature = "android-net-http-AndroidHttpClient"))]
__jni_bindgen! {
    /// public final class [AndroidHttpClient](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html)
    ///
    /// Required feature: "android-net-http-AndroidHttpClient"
    #[deprecated] public final class AndroidHttpClient ("android/net/http/AndroidHttpClient") extends crate::java::lang::Object, implements crate::org::apache::http::client::HttpClient {

        /// [newInstance](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#newInstance(java.lang.String,%20android.content.Context))
        ///
        /// Required features: "android-content-Context", "android-net-http-AndroidHttpClient", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-net-http-AndroidHttpClient", feature = "java-lang-String")))]
        #[deprecated] pub fn newInstance_String_Context<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::http::AndroidHttpClient>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC | STATIC, .name == "newInstance", .descriptor == "(Ljava/lang/String;Landroid/content/Context;)Landroid/net/http/AndroidHttpClient;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/http/AndroidHttpClient\0", "newInstance\0", "(Ljava/lang/String;Landroid/content/Context;)Landroid/net/http/AndroidHttpClient;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [newInstance](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#newInstance(java.lang.String))
        ///
        /// Required features: "android-net-http-AndroidHttpClient", "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "android-net-http-AndroidHttpClient", feature = "java-lang-String")))]
        #[deprecated] pub fn newInstance_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::net::http::AndroidHttpClient>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC | STATIC, .name == "newInstance", .descriptor == "(Ljava/lang/String;)Landroid/net/http/AndroidHttpClient;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/http/AndroidHttpClient\0", "newInstance\0", "(Ljava/lang/String;)Landroid/net/http/AndroidHttpClient;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [modifyRequestToAcceptGzipResponse](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#modifyRequestToAcceptGzipResponse(org.apache.http.HttpRequest))
        ///
        /// Required features: "org-apache-http-HttpRequest"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpRequest")))]
        pub fn modifyRequestToAcceptGzipResponse<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequest>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC | STATIC, .name == "modifyRequestToAcceptGzipResponse", .descriptor == "(Lorg/apache/http/HttpRequest;)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/http/AndroidHttpClient\0", "modifyRequestToAcceptGzipResponse\0", "(Lorg/apache/http/HttpRequest;)V\0");
                __jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getUngzippedContent](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#getUngzippedContent(org.apache.http.HttpEntity))
        ///
        /// Required features: "java-io-InputStream", "org-apache-http-HttpEntity"
        #[cfg(any(feature = "all", all(feature = "java-io-InputStream", feature = "org-apache-http-HttpEntity")))]
        pub fn getUngzippedContent<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpEntity>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::io::InputStream>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC | STATIC, .name == "getUngzippedContent", .descriptor == "(Lorg/apache/http/HttpEntity;)Ljava/io/InputStream;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/http/AndroidHttpClient\0", "getUngzippedContent\0", "(Lorg/apache/http/HttpEntity;)Ljava/io/InputStream;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [close](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#close())
        pub fn close<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "close", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "close\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getParams](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#getParams())
        ///
        /// Required features: "org-apache-http-params-HttpParams"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-params-HttpParams")))]
        pub fn getParams<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::params::HttpParams>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "getParams", .descriptor == "()Lorg/apache/http/params/HttpParams;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "getParams\0", "()Lorg/apache/http/params/HttpParams;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getConnectionManager](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#getConnectionManager())
        ///
        /// Required features: "org-apache-http-conn-ClientConnectionManager"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-conn-ClientConnectionManager")))]
        pub fn getConnectionManager<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::conn::ClientConnectionManager>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "getConnectionManager", .descriptor == "()Lorg/apache/http/conn/ClientConnectionManager;"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "getConnectionManager\0", "()Lorg/apache/http/conn/ClientConnectionManager;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [execute](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#execute(org.apache.http.client.methods.HttpUriRequest))
        ///
        /// Required features: "org-apache-http-HttpResponse", "org-apache-http-client-methods-HttpUriRequest"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpResponse", feature = "org-apache-http-client-methods-HttpUriRequest")))]
        pub fn execute_HttpUriRequest<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::client::methods::HttpUriRequest>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::HttpResponse>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "execute", .descriptor == "(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "execute\0", "(Lorg/apache/http/client/methods/HttpUriRequest;)Lorg/apache/http/HttpResponse;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [execute](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#execute(org.apache.http.client.methods.HttpUriRequest,%20org.apache.http.protocol.HttpContext))
        ///
        /// Required features: "org-apache-http-HttpResponse", "org-apache-http-client-methods-HttpUriRequest", "org-apache-http-protocol-HttpContext"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpResponse", feature = "org-apache-http-client-methods-HttpUriRequest", feature = "org-apache-http-protocol-HttpContext")))]
        pub fn execute_HttpUriRequest_HttpContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::client::methods::HttpUriRequest>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::protocol::HttpContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::HttpResponse>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "execute", .descriptor == "(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "execute\0", "(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [execute](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#execute(org.apache.http.HttpHost,%20org.apache.http.HttpRequest))
        ///
        /// Required features: "org-apache-http-HttpHost", "org-apache-http-HttpRequest", "org-apache-http-HttpResponse"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpHost", feature = "org-apache-http-HttpRequest", feature = "org-apache-http-HttpResponse")))]
        pub fn execute_HttpHost_HttpRequest<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequest>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::HttpResponse>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "execute", .descriptor == "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;)Lorg/apache/http/HttpResponse;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "execute\0", "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;)Lorg/apache/http/HttpResponse;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [execute](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#execute(org.apache.http.HttpHost,%20org.apache.http.HttpRequest,%20org.apache.http.protocol.HttpContext))
        ///
        /// Required features: "org-apache-http-HttpHost", "org-apache-http-HttpRequest", "org-apache-http-HttpResponse", "org-apache-http-protocol-HttpContext"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpHost", feature = "org-apache-http-HttpRequest", feature = "org-apache-http-HttpResponse", feature = "org-apache-http-protocol-HttpContext")))]
        pub fn execute_HttpHost_HttpRequest_HttpContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequest>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::protocol::HttpContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::HttpResponse>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "execute", .descriptor == "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "execute\0", "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [execute](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#execute(org.apache.http.client.methods.HttpUriRequest,%20org.apache.http.client.ResponseHandler))
        ///
        /// Required features: "java-lang-Object", "org-apache-http-client-ResponseHandler", "org-apache-http-client-methods-HttpUriRequest"
        #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "org-apache-http-client-ResponseHandler", feature = "org-apache-http-client-methods-HttpUriRequest")))]
        pub fn execute_HttpUriRequest_ResponseHandler<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::client::methods::HttpUriRequest>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::client::ResponseHandler>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "execute", .descriptor == "(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/client/ResponseHandler;)Ljava/lang/Object;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "execute\0", "(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/client/ResponseHandler;)Ljava/lang/Object;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [execute](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#execute(org.apache.http.client.methods.HttpUriRequest,%20org.apache.http.client.ResponseHandler,%20org.apache.http.protocol.HttpContext))
        ///
        /// Required features: "java-lang-Object", "org-apache-http-client-ResponseHandler", "org-apache-http-client-methods-HttpUriRequest", "org-apache-http-protocol-HttpContext"
        #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "org-apache-http-client-ResponseHandler", feature = "org-apache-http-client-methods-HttpUriRequest", feature = "org-apache-http-protocol-HttpContext")))]
        pub fn execute_HttpUriRequest_ResponseHandler_HttpContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::client::methods::HttpUriRequest>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::client::ResponseHandler>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::protocol::HttpContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "execute", .descriptor == "(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/client/ResponseHandler;Lorg/apache/http/protocol/HttpContext;)Ljava/lang/Object;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "execute\0", "(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/client/ResponseHandler;Lorg/apache/http/protocol/HttpContext;)Ljava/lang/Object;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [execute](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#execute(org.apache.http.HttpHost,%20org.apache.http.HttpRequest,%20org.apache.http.client.ResponseHandler))
        ///
        /// Required features: "java-lang-Object", "org-apache-http-HttpHost", "org-apache-http-HttpRequest", "org-apache-http-client-ResponseHandler"
        #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "org-apache-http-HttpHost", feature = "org-apache-http-HttpRequest", feature = "org-apache-http-client-ResponseHandler")))]
        pub fn execute_HttpHost_HttpRequest_ResponseHandler<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequest>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::client::ResponseHandler>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "execute", .descriptor == "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler;)Ljava/lang/Object;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "execute\0", "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler;)Ljava/lang/Object;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [execute](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#execute(org.apache.http.HttpHost,%20org.apache.http.HttpRequest,%20org.apache.http.client.ResponseHandler,%20org.apache.http.protocol.HttpContext))
        ///
        /// Required features: "java-lang-Object", "org-apache-http-HttpHost", "org-apache-http-HttpRequest", "org-apache-http-client-ResponseHandler", "org-apache-http-protocol-HttpContext"
        #[cfg(any(feature = "all", all(feature = "java-lang-Object", feature = "org-apache-http-HttpHost", feature = "org-apache-http-HttpRequest", feature = "org-apache-http-client-ResponseHandler", feature = "org-apache-http-protocol-HttpContext")))]
        pub fn execute_HttpHost_HttpRequest_ResponseHandler_HttpContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequest>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::client::ResponseHandler>>, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::protocol::HttpContext>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::Object>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "execute", .descriptor == "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler;Lorg/apache/http/protocol/HttpContext;)Ljava/lang/Object;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into()), __jni_bindgen::AsJValue::as_jvalue(&arg3.into())];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "execute\0", "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/client/ResponseHandler;Lorg/apache/http/protocol/HttpContext;)Ljava/lang/Object;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getCompressedEntity](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#getCompressedEntity(byte%5B%5D,%20android.content.ContentResolver))
        ///
        /// Required features: "android-content-ContentResolver", "org-apache-http-entity-AbstractHttpEntity"
        #[cfg(any(feature = "all", all(feature = "android-content-ContentResolver", feature = "org-apache-http-entity-AbstractHttpEntity")))]
        pub fn getCompressedEntity<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ByteArray>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ContentResolver>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::entity::AbstractHttpEntity>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC | STATIC, .name == "getCompressedEntity", .descriptor == "([BLandroid/content/ContentResolver;)Lorg/apache/http/entity/AbstractHttpEntity;"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/http/AndroidHttpClient\0", "getCompressedEntity\0", "([BLandroid/content/ContentResolver;)Lorg/apache/http/entity/AbstractHttpEntity;\0");
                __jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getMinGzipSize](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#getMinGzipSize(android.content.ContentResolver))
        ///
        /// Required features: "android-content-ContentResolver"
        #[cfg(any(feature = "all", all(feature = "android-content-ContentResolver")))]
        pub fn getMinGzipSize<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::ContentResolver>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC | STATIC, .name == "getMinGzipSize", .descriptor == "(Landroid/content/ContentResolver;)J"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/http/AndroidHttpClient\0", "getMinGzipSize\0", "(Landroid/content/ContentResolver;)J\0");
                __jni_env.call_static_long_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [enableCurlLogging](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#enableCurlLogging(java.lang.String,%20int))
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn enableCurlLogging<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "enableCurlLogging", .descriptor == "(Ljava/lang/String;I)V"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "enableCurlLogging\0", "(Ljava/lang/String;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [disableCurlLogging](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#disableCurlLogging())
        pub fn disableCurlLogging<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC, .name == "disableCurlLogging", .descriptor == "()V"
            unsafe {
                let __jni_args = [];
                let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
                let (__jni_class, __jni_method) = __jni_env.require_class_method("android/net/http/AndroidHttpClient\0", "disableCurlLogging\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [parseDate](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#parseDate(java.lang.String))
        ///
        /// Required features: "java-lang-String"
        #[cfg(any(feature = "all", all(feature = "java-lang-String")))]
        pub fn parseDate<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<i64, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "android/net/http/AndroidHttpClient", java.flags == PUBLIC | STATIC, .name == "parseDate", .descriptor == "(Ljava/lang/String;)J"
            unsafe {
                let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
                let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/net/http/AndroidHttpClient\0", "parseDate\0", "(Ljava/lang/String;)J\0");
                __jni_env.call_static_long_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
            }
        }

        /// **get** public static [DEFAULT_SYNC_MIN_GZIP_BYTES](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#DEFAULT_SYNC_MIN_GZIP_BYTES)
        pub fn DEFAULT_SYNC_MIN_GZIP_BYTES<'env>(env: &'env __jni_bindgen::Env) -> i64 {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/net/http/AndroidHttpClient\0", "DEFAULT_SYNC_MIN_GZIP_BYTES\0", "J\0");
                env.get_static_long_field(__jni_class, __jni_field)
            }
        }

        /// **set** public static [DEFAULT_SYNC_MIN_GZIP_BYTES](https://developer.android.com/reference/android/net/http/AndroidHttpClient.html#DEFAULT_SYNC_MIN_GZIP_BYTES)
        pub fn set_DEFAULT_SYNC_MIN_GZIP_BYTES<'env>(env: &'env __jni_bindgen::Env, value: i64) {
            unsafe {
                let (__jni_class, __jni_field) = env.require_class_static_field("android/net/http/AndroidHttpClient\0", "DEFAULT_SYNC_MIN_GZIP_BYTES\0", "J\0");
                env.set_static_long_field(__jni_class, __jni_field, value)
            }
        }
    }
}