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 = "org-apache-http-protocol-BasicHttpProcessor"))]
__jni_bindgen! {
    /// public final class [BasicHttpProcessor](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html)
    ///
    /// Required feature: "org-apache-http-protocol-BasicHttpProcessor"
    #[deprecated] public final class BasicHttpProcessor ("org/apache/http/protocol/BasicHttpProcessor") extends crate::java::lang::Object, implements crate::org::apache::http::protocol::HttpProcessor, crate::org::apache::http::protocol::HttpRequestInterceptorList, crate::org::apache::http::protocol::HttpResponseInterceptorList, crate::java::lang::Cloneable {

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

        /// [addRequestInterceptor](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#addRequestInterceptor(org.apache.http.HttpRequestInterceptor))
        ///
        /// Required features: "org-apache-http-HttpRequestInterceptor"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpRequestInterceptor")))]
        pub fn addRequestInterceptor_HttpRequestInterceptor<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequestInterceptor>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "addRequestInterceptor", .descriptor == "(Lorg/apache/http/HttpRequestInterceptor;)V"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "addRequestInterceptor\0", "(Lorg/apache/http/HttpRequestInterceptor;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [addRequestInterceptor](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#addRequestInterceptor(org.apache.http.HttpRequestInterceptor,%20int))
        ///
        /// Required features: "org-apache-http-HttpRequestInterceptor"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpRequestInterceptor")))]
        pub fn addRequestInterceptor_HttpRequestInterceptor_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequestInterceptor>>, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "addRequestInterceptor", .descriptor == "(Lorg/apache/http/HttpRequestInterceptor;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("org/apache/http/protocol/BasicHttpProcessor\0", "addRequestInterceptor\0", "(Lorg/apache/http/HttpRequestInterceptor;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [addResponseInterceptor](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#addResponseInterceptor(org.apache.http.HttpResponseInterceptor,%20int))
        ///
        /// Required features: "org-apache-http-HttpResponseInterceptor"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpResponseInterceptor")))]
        pub fn addResponseInterceptor_HttpResponseInterceptor_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpResponseInterceptor>>, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "addResponseInterceptor", .descriptor == "(Lorg/apache/http/HttpResponseInterceptor;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("org/apache/http/protocol/BasicHttpProcessor\0", "addResponseInterceptor\0", "(Lorg/apache/http/HttpResponseInterceptor;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [removeRequestInterceptorByClass](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#removeRequestInterceptorByClass(java.lang.Class))
        ///
        /// Required features: "java-lang-Class"
        #[cfg(any(feature = "all", all(feature = "java-lang-Class")))]
        pub fn removeRequestInterceptorByClass<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Class>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "removeRequestInterceptorByClass", .descriptor == "(Ljava/lang/Class;)V"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "removeRequestInterceptorByClass\0", "(Ljava/lang/Class;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [removeResponseInterceptorByClass](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#removeResponseInterceptorByClass(java.lang.Class))
        ///
        /// Required features: "java-lang-Class"
        #[cfg(any(feature = "all", all(feature = "java-lang-Class")))]
        pub fn removeResponseInterceptorByClass<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Class>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "removeResponseInterceptorByClass", .descriptor == "(Ljava/lang/Class;)V"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "removeResponseInterceptorByClass\0", "(Ljava/lang/Class;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [addInterceptor](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#addInterceptor(org.apache.http.HttpRequestInterceptor))
        ///
        /// Required features: "org-apache-http-HttpRequestInterceptor"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpRequestInterceptor")))]
        pub fn addInterceptor_HttpRequestInterceptor<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequestInterceptor>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC | FINAL, .name == "addInterceptor", .descriptor == "(Lorg/apache/http/HttpRequestInterceptor;)V"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "addInterceptor\0", "(Lorg/apache/http/HttpRequestInterceptor;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [addInterceptor](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#addInterceptor(org.apache.http.HttpRequestInterceptor,%20int))
        ///
        /// Required features: "org-apache-http-HttpRequestInterceptor"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpRequestInterceptor")))]
        pub fn addInterceptor_HttpRequestInterceptor_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequestInterceptor>>, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC | FINAL, .name == "addInterceptor", .descriptor == "(Lorg/apache/http/HttpRequestInterceptor;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("org/apache/http/protocol/BasicHttpProcessor\0", "addInterceptor\0", "(Lorg/apache/http/HttpRequestInterceptor;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getRequestInterceptorCount](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#getRequestInterceptorCount())
        pub fn getRequestInterceptorCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "getRequestInterceptorCount", .descriptor == "()I"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "getRequestInterceptorCount\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

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

        /// [clearRequestInterceptors](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#clearRequestInterceptors())
        pub fn clearRequestInterceptors<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "clearRequestInterceptors", .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("org/apache/http/protocol/BasicHttpProcessor\0", "clearRequestInterceptors\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [addResponseInterceptor](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#addResponseInterceptor(org.apache.http.HttpResponseInterceptor))
        ///
        /// Required features: "org-apache-http-HttpResponseInterceptor"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpResponseInterceptor")))]
        pub fn addResponseInterceptor_HttpResponseInterceptor<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpResponseInterceptor>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "addResponseInterceptor", .descriptor == "(Lorg/apache/http/HttpResponseInterceptor;)V"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "addResponseInterceptor\0", "(Lorg/apache/http/HttpResponseInterceptor;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [addInterceptor](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#addInterceptor(org.apache.http.HttpResponseInterceptor))
        ///
        /// Required features: "org-apache-http-HttpResponseInterceptor"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpResponseInterceptor")))]
        pub fn addInterceptor_HttpResponseInterceptor<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpResponseInterceptor>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC | FINAL, .name == "addInterceptor", .descriptor == "(Lorg/apache/http/HttpResponseInterceptor;)V"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "addInterceptor\0", "(Lorg/apache/http/HttpResponseInterceptor;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [addInterceptor](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#addInterceptor(org.apache.http.HttpResponseInterceptor,%20int))
        ///
        /// Required features: "org-apache-http-HttpResponseInterceptor"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpResponseInterceptor")))]
        pub fn addInterceptor_HttpResponseInterceptor_int<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpResponseInterceptor>>, arg1: i32) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC | FINAL, .name == "addInterceptor", .descriptor == "(Lorg/apache/http/HttpResponseInterceptor;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("org/apache/http/protocol/BasicHttpProcessor\0", "addInterceptor\0", "(Lorg/apache/http/HttpResponseInterceptor;I)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [getResponseInterceptorCount](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#getResponseInterceptorCount())
        pub fn getResponseInterceptorCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "getResponseInterceptorCount", .descriptor == "()I"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "getResponseInterceptorCount\0", "()I\0");
                __jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

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

        /// [clearResponseInterceptors](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#clearResponseInterceptors())
        pub fn clearResponseInterceptors<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "clearResponseInterceptors", .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("org/apache/http/protocol/BasicHttpProcessor\0", "clearResponseInterceptors\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [setInterceptors](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#setInterceptors(java.util.List))
        ///
        /// Required features: "java-util-List"
        #[cfg(any(feature = "all", all(feature = "java-util-List")))]
        pub fn setInterceptors<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::List>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "setInterceptors", .descriptor == "(Ljava/util/List;)V"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "setInterceptors\0", "(Ljava/util/List;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [clearInterceptors](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#clearInterceptors())
        pub fn clearInterceptors<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "clearInterceptors", .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("org/apache/http/protocol/BasicHttpProcessor\0", "clearInterceptors\0", "()V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [process](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#process(org.apache.http.HttpRequest,%20org.apache.http.protocol.HttpContext))
        ///
        /// Required features: "org-apache-http-HttpRequest", "org-apache-http-protocol-HttpContext"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpRequest", feature = "org-apache-http-protocol-HttpContext")))]
        pub fn process_HttpRequest_HttpContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpRequest>>, 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::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "process", .descriptor == "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "process\0", "(Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [process](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#process(org.apache.http.HttpResponse,%20org.apache.http.protocol.HttpContext))
        ///
        /// Required features: "org-apache-http-HttpResponse", "org-apache-http-protocol-HttpContext"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-HttpResponse", feature = "org-apache-http-protocol-HttpContext")))]
        pub fn process_HttpResponse_HttpContext<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpResponse>>, 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::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "process", .descriptor == "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "process\0", "(Lorg/apache/http/HttpResponse;Lorg/apache/http/protocol/HttpContext;)V\0");
                __jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [copy](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#copy())
        ///
        /// Required features: "org-apache-http-protocol-BasicHttpProcessor"
        #[cfg(any(feature = "all", all(feature = "org-apache-http-protocol-BasicHttpProcessor")))]
        pub fn copy<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::protocol::BasicHttpProcessor>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
            // class.path == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "copy", .descriptor == "()Lorg/apache/http/protocol/BasicHttpProcessor;"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "copy\0", "()Lorg/apache/http/protocol/BasicHttpProcessor;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }

        /// [clone](https://developer.android.com/reference/org/apache/http/protocol/BasicHttpProcessor.html#clone())
        ///
        /// Required features: "java-lang-Object"
        #[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
        pub fn clone<'env>(&'env self) -> __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 == "org/apache/http/protocol/BasicHttpProcessor", java.flags == PUBLIC, .name == "clone", .descriptor == "()Ljava/lang/Object;"
            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("org/apache/http/protocol/BasicHttpProcessor\0", "clone\0", "()Ljava/lang/Object;\0");
                __jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
            }
        }
    }
}