// 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-BasicHeaderValueParser"))]
__jni_bindgen! {
/// public class [BasicHeaderValueParser](https://developer.android.com/reference/org/apache/http/message/BasicHeaderValueParser.html)
///
/// Required feature: "org-apache-http-message-BasicHeaderValueParser"
#[deprecated] public class BasicHeaderValueParser ("org/apache/http/message/BasicHeaderValueParser") extends crate::java::lang::Object, implements crate::org::apache::http::message::HeaderValueParser {
/// [BasicHeaderValueParser](https://developer.android.com/reference/org/apache/http/message/BasicHeaderValueParser.html#BasicHeaderValueParser())
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::org::apache::http::message::BasicHeaderValueParser>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/message/BasicHeaderValueParser", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/message/BasicHeaderValueParser\0", "<init>\0", "()V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parseElements](https://developer.android.com/reference/org/apache/http/message/BasicHeaderValueParser.html#parseElements(java.lang.String,%20org.apache.http.message.HeaderValueParser))
///
/// Required features: "java-lang-String", "org-apache-http-HeaderElement", "org-apache-http-message-HeaderValueParser"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-apache-http-HeaderElement", feature = "org-apache-http-message-HeaderValueParser")))]
pub fn parseElements_String_HeaderValueParser<'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::org::apache::http::message::HeaderValueParser>>) -> __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/BasicHeaderValueParser", java.flags == PUBLIC | STATIC | FINAL, .name == "parseElements", .descriptor == "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)[Lorg/apache/http/HeaderElement;"
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("org/apache/http/message/BasicHeaderValueParser\0", "parseElements\0", "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)[Lorg/apache/http/HeaderElement;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parseElements](https://developer.android.com/reference/org/apache/http/message/BasicHeaderValueParser.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_CharArrayBuffer_ParserCursor<'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/BasicHeaderValueParser", java.flags == PUBLIC, .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/BasicHeaderValueParser\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/BasicHeaderValueParser.html#parseHeaderElement(java.lang.String,%20org.apache.http.message.HeaderValueParser))
///
/// Required features: "java-lang-String", "org-apache-http-HeaderElement", "org-apache-http-message-HeaderValueParser"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-apache-http-HeaderElement", feature = "org-apache-http-message-HeaderValueParser")))]
pub fn parseHeaderElement_String_HeaderValueParser<'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::org::apache::http::message::HeaderValueParser>>) -> __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/BasicHeaderValueParser", java.flags == PUBLIC | STATIC | FINAL, .name == "parseHeaderElement", .descriptor == "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)Lorg/apache/http/HeaderElement;"
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("org/apache/http/message/BasicHeaderValueParser\0", "parseHeaderElement\0", "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)Lorg/apache/http/HeaderElement;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parseHeaderElement](https://developer.android.com/reference/org/apache/http/message/BasicHeaderValueParser.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_CharArrayBuffer_ParserCursor<'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/BasicHeaderValueParser", java.flags == PUBLIC, .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/BasicHeaderValueParser\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/BasicHeaderValueParser.html#parseParameters(java.lang.String,%20org.apache.http.message.HeaderValueParser))
///
/// Required features: "java-lang-String", "org-apache-http-NameValuePair", "org-apache-http-message-HeaderValueParser"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-apache-http-NameValuePair", feature = "org-apache-http-message-HeaderValueParser")))]
pub fn parseParameters_String_HeaderValueParser<'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::org::apache::http::message::HeaderValueParser>>) -> __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/BasicHeaderValueParser", java.flags == PUBLIC | STATIC | FINAL, .name == "parseParameters", .descriptor == "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)[Lorg/apache/http/NameValuePair;"
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("org/apache/http/message/BasicHeaderValueParser\0", "parseParameters\0", "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)[Lorg/apache/http/NameValuePair;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parseParameters](https://developer.android.com/reference/org/apache/http/message/BasicHeaderValueParser.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_CharArrayBuffer_ParserCursor<'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/BasicHeaderValueParser", java.flags == PUBLIC, .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/BasicHeaderValueParser\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/BasicHeaderValueParser.html#parseNameValuePair(java.lang.String,%20org.apache.http.message.HeaderValueParser))
///
/// Required features: "java-lang-String", "org-apache-http-NameValuePair", "org-apache-http-message-HeaderValueParser"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-apache-http-NameValuePair", feature = "org-apache-http-message-HeaderValueParser")))]
pub fn parseNameValuePair_String_HeaderValueParser<'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::org::apache::http::message::HeaderValueParser>>) -> __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/BasicHeaderValueParser", java.flags == PUBLIC | STATIC | FINAL, .name == "parseNameValuePair", .descriptor == "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)Lorg/apache/http/NameValuePair;"
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("org/apache/http/message/BasicHeaderValueParser\0", "parseNameValuePair\0", "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)Lorg/apache/http/NameValuePair;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parseNameValuePair](https://developer.android.com/reference/org/apache/http/message/BasicHeaderValueParser.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_CharArrayBuffer_ParserCursor<'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/BasicHeaderValueParser", java.flags == PUBLIC, .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/BasicHeaderValueParser\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())
}
}
/// [parseNameValuePair](https://developer.android.com/reference/org/apache/http/message/BasicHeaderValueParser.html#parseNameValuePair(org.apache.http.util.CharArrayBuffer,%20org.apache.http.message.ParserCursor,%20char%5B%5D))
///
/// 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_CharArrayBuffer_ParserCursor_char_array<'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>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::CharArray>>) -> __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/BasicHeaderValueParser", java.flags == PUBLIC, .name == "parseNameValuePair", .descriptor == "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;[C)Lorg/apache/http/NameValuePair;"
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("org/apache/http/message/BasicHeaderValueParser\0", "parseNameValuePair\0", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;[C)Lorg/apache/http/NameValuePair;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// **get** public static final [DEFAULT](https://developer.android.com/reference/org/apache/http/message/BasicHeaderValueParser.html#DEFAULT)
///
/// Required feature: "org-apache-http-message-BasicHeaderValueParser"
#[cfg(any(feature = "all", feature = "org-apache-http-message-BasicHeaderValueParser"))]
pub fn DEFAULT<'env>(env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::message::BasicHeaderValueParser>> {
unsafe {
let (__jni_class, __jni_field) = env.require_class_static_field("org/apache/http/message/BasicHeaderValueParser\0", "DEFAULT\0", "Lorg/apache/http/message/BasicHeaderValueParser;\0");
env.get_static_object_field(__jni_class, __jni_field)
}
}
}
}