// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "org-apache-http-client-utils-URLEncodedUtils"))]
__jni_bindgen! {
/// public class [URLEncodedUtils](https://developer.android.com/reference/org/apache/http/client/utils/URLEncodedUtils.html)
///
/// Required feature: "org-apache-http-client-utils-URLEncodedUtils"
public class URLEncodedUtils ("org/apache/http/client/utils/URLEncodedUtils") extends crate::java::lang::Object {
/// [URLEncodedUtils](https://developer.android.com/reference/org/apache/http/client/utils/URLEncodedUtils.html#URLEncodedUtils())
pub fn new<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::org::apache::http::client::utils::URLEncodedUtils>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URLEncodedUtils", java.flags == PUBLIC, .name == "<init>", .descriptor == "()V"
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/client/utils/URLEncodedUtils\0", "<init>\0", "()V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parse](https://developer.android.com/reference/org/apache/http/client/utils/URLEncodedUtils.html#parse(java.net.URI,%20java.lang.String))
///
/// Required features: "java-lang-String", "java-net-URI", "java-util-List"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-net-URI", feature = "java-util-List")))]
pub fn parse_URI_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::net::URI>>, arg1: 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::java::util::List>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URLEncodedUtils", java.flags == PUBLIC | STATIC, .name == "parse", .descriptor == "(Ljava/net/URI;Ljava/lang/String;)Ljava/util/List;"
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/client/utils/URLEncodedUtils\0", "parse\0", "(Ljava/net/URI;Ljava/lang/String;)Ljava/util/List;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parse](https://developer.android.com/reference/org/apache/http/client/utils/URLEncodedUtils.html#parse(org.apache.http.HttpEntity))
///
/// Required features: "java-util-List", "org-apache-http-HttpEntity"
#[cfg(any(feature = "all", all(feature = "java-util-List", feature = "org-apache-http-HttpEntity")))]
pub fn parse_HttpEntity<'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::util::List>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URLEncodedUtils", java.flags == PUBLIC | STATIC, .name == "parse", .descriptor == "(Lorg/apache/http/HttpEntity;)Ljava/util/List;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/client/utils/URLEncodedUtils\0", "parse\0", "(Lorg/apache/http/HttpEntity;)Ljava/util/List;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [isEncoded](https://developer.android.com/reference/org/apache/http/client/utils/URLEncodedUtils.html#isEncoded(org.apache.http.HttpEntity))
///
/// Required features: "org-apache-http-HttpEntity"
#[cfg(any(feature = "all", all(feature = "org-apache-http-HttpEntity")))]
pub fn isEncoded<'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<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URLEncodedUtils", java.flags == PUBLIC | STATIC, .name == "isEncoded", .descriptor == "(Lorg/apache/http/HttpEntity;)Z"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/client/utils/URLEncodedUtils\0", "isEncoded\0", "(Lorg/apache/http/HttpEntity;)Z\0");
__jni_env.call_static_boolean_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [parse](https://developer.android.com/reference/org/apache/http/client/utils/URLEncodedUtils.html#parse(java.util.List,%20java.util.Scanner,%20java.lang.String))
///
/// Required features: "java-lang-String", "java-util-List", "java-util-Scanner"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-List", feature = "java-util-Scanner")))]
pub fn parse_List_Scanner_String<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::List>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::Scanner>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URLEncodedUtils", java.flags == PUBLIC | STATIC, .name == "parse", .descriptor == "(Ljava/util/List;Ljava/util/Scanner;Ljava/lang/String;)V"
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_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/client/utils/URLEncodedUtils\0", "parse\0", "(Ljava/util/List;Ljava/util/Scanner;Ljava/lang/String;)V\0");
__jni_env.call_static_void_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [format](https://developer.android.com/reference/org/apache/http/client/utils/URLEncodedUtils.html#format(java.util.List,%20java.lang.String))
///
/// Required features: "java-lang-String", "java-util-List"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-util-List")))]
pub fn format<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::util::List>>, arg1: 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::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URLEncodedUtils", java.flags == PUBLIC | STATIC, .name == "format", .descriptor == "(Ljava/util/List;Ljava/lang/String;)Ljava/lang/String;"
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/client/utils/URLEncodedUtils\0", "format\0", "(Ljava/util/List;Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [CONTENT_TYPE](https://developer.android.com/reference/org/apache/http/client/utils/URLEncodedUtils.html#CONTENT_TYPE)
pub const CONTENT_TYPE : &'static str = "application/x-www-form-urlencoded";
}
}