// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "org-apache-http-message-HeaderValueParser"))]
__jni_bindgen! {
/// public interface [HeaderValueParser](https://developer.android.com/reference/org/apache/http/message/HeaderValueParser.html)
///
/// Required feature: "org-apache-http-message-HeaderValueParser"
#[deprecated] public interface HeaderValueParser ("org/apache/http/message/HeaderValueParser") extends crate::java::lang::Object {
/// [parseElements](https://developer.android.com/reference/org/apache/http/message/HeaderValueParser.html#parseElements(org.apache.http.util.CharArrayBuffer,%20org.apache.http.message.ParserCursor))
///
/// Required features: "org-apache-http-HeaderElement", "org-apache-http-message-ParserCursor", "org-apache-http-util-CharArrayBuffer"
#[cfg(any(feature = "all", all(feature = "org-apache-http-HeaderElement", feature = "org-apache-http-message-ParserCursor", feature = "org-apache-http-util-CharArrayBuffer")))]
pub fn parseElements<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::util::CharArrayBuffer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::message::ParserCursor>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::org::apache::http::HeaderElement, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/HeaderValueParser", java.flags == PUBLIC | ABSTRACT, .name == "parseElements", .descriptor == "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)[Lorg/apache/http/HeaderElement;"
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/message/HeaderValueParser\0", "parseElements\0", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)[Lorg/apache/http/HeaderElement;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [parseHeaderElement](https://developer.android.com/reference/org/apache/http/message/HeaderValueParser.html#parseHeaderElement(org.apache.http.util.CharArrayBuffer,%20org.apache.http.message.ParserCursor))
///
/// Required features: "org-apache-http-HeaderElement", "org-apache-http-message-ParserCursor", "org-apache-http-util-CharArrayBuffer"
#[cfg(any(feature = "all", all(feature = "org-apache-http-HeaderElement", feature = "org-apache-http-message-ParserCursor", feature = "org-apache-http-util-CharArrayBuffer")))]
pub fn parseHeaderElement<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::util::CharArrayBuffer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::message::ParserCursor>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::HeaderElement>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/HeaderValueParser", java.flags == PUBLIC | ABSTRACT, .name == "parseHeaderElement", .descriptor == "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/HeaderElement;"
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/message/HeaderValueParser\0", "parseHeaderElement\0", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/HeaderElement;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [parseParameters](https://developer.android.com/reference/org/apache/http/message/HeaderValueParser.html#parseParameters(org.apache.http.util.CharArrayBuffer,%20org.apache.http.message.ParserCursor))
///
/// Required features: "org-apache-http-NameValuePair", "org-apache-http-message-ParserCursor", "org-apache-http-util-CharArrayBuffer"
#[cfg(any(feature = "all", all(feature = "org-apache-http-NameValuePair", feature = "org-apache-http-message-ParserCursor", feature = "org-apache-http-util-CharArrayBuffer")))]
pub fn parseParameters<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::util::CharArrayBuffer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::message::ParserCursor>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, __jni_bindgen::ObjectArray<crate::org::apache::http::NameValuePair, crate::java::lang::Throwable>>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/HeaderValueParser", java.flags == PUBLIC | ABSTRACT, .name == "parseParameters", .descriptor == "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)[Lorg/apache/http/NameValuePair;"
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/message/HeaderValueParser\0", "parseParameters\0", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)[Lorg/apache/http/NameValuePair;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [parseNameValuePair](https://developer.android.com/reference/org/apache/http/message/HeaderValueParser.html#parseNameValuePair(org.apache.http.util.CharArrayBuffer,%20org.apache.http.message.ParserCursor))
///
/// Required features: "org-apache-http-NameValuePair", "org-apache-http-message-ParserCursor", "org-apache-http-util-CharArrayBuffer"
#[cfg(any(feature = "all", all(feature = "org-apache-http-NameValuePair", feature = "org-apache-http-message-ParserCursor", feature = "org-apache-http-util-CharArrayBuffer")))]
pub fn parseNameValuePair<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::util::CharArrayBuffer>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::message::ParserCursor>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::NameValuePair>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/HeaderValueParser", java.flags == PUBLIC | ABSTRACT, .name == "parseNameValuePair", .descriptor == "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/NameValuePair;"
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/message/HeaderValueParser\0", "parseNameValuePair\0", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/NameValuePair;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}