// 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-URIUtils"))]
__jni_bindgen! {
/// public class [URIUtils](https://developer.android.com/reference/org/apache/http/client/utils/URIUtils.html)
///
/// Required feature: "org-apache-http-client-utils-URIUtils"
#[deprecated] public class URIUtils ("org/apache/http/client/utils/URIUtils") extends crate::java::lang::Object {
/// [createURI](https://developer.android.com/reference/org/apache/http/client/utils/URIUtils.html#createURI(java.lang.String,%20java.lang.String,%20int,%20java.lang.String,%20java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String", "java-net-URI"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-net-URI")))]
pub fn createURI<'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::java::lang::String>>, arg2: i32, arg3: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg5: 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::net::URI>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URIUtils", java.flags == PUBLIC | STATIC, .name == "createURI", .descriptor == "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/URI;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2), __jni_bindgen::AsJValue::as_jvalue(&arg3.into()), __jni_bindgen::AsJValue::as_jvalue(&arg4.into()), __jni_bindgen::AsJValue::as_jvalue(&arg5.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/client/utils/URIUtils\0", "createURI\0", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/net/URI;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [rewriteURI](https://developer.android.com/reference/org/apache/http/client/utils/URIUtils.html#rewriteURI(java.net.URI,%20org.apache.http.HttpHost,%20boolean))
///
/// Required features: "java-net-URI", "org-apache-http-HttpHost"
#[cfg(any(feature = "all", all(feature = "java-net-URI", feature = "org-apache-http-HttpHost")))]
pub fn rewriteURI_URI_HttpHost_boolean<'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::org::apache::http::HttpHost>>, arg2: bool) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::net::URI>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URIUtils", java.flags == PUBLIC | STATIC, .name == "rewriteURI", .descriptor == "(Ljava/net/URI;Lorg/apache/http/HttpHost;Z)Ljava/net/URI;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2)];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("org/apache/http/client/utils/URIUtils\0", "rewriteURI\0", "(Ljava/net/URI;Lorg/apache/http/HttpHost;Z)Ljava/net/URI;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [rewriteURI](https://developer.android.com/reference/org/apache/http/client/utils/URIUtils.html#rewriteURI(java.net.URI,%20org.apache.http.HttpHost))
///
/// Required features: "java-net-URI", "org-apache-http-HttpHost"
#[cfg(any(feature = "all", all(feature = "java-net-URI", feature = "org-apache-http-HttpHost")))]
pub fn rewriteURI_URI_HttpHost<'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::org::apache::http::HttpHost>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::net::URI>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URIUtils", java.flags == PUBLIC | STATIC, .name == "rewriteURI", .descriptor == "(Ljava/net/URI;Lorg/apache/http/HttpHost;)Ljava/net/URI;"
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/URIUtils\0", "rewriteURI\0", "(Ljava/net/URI;Lorg/apache/http/HttpHost;)Ljava/net/URI;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [resolve](https://developer.android.com/reference/org/apache/http/client/utils/URIUtils.html#resolve(java.net.URI,%20java.lang.String))
///
/// Required features: "java-lang-String", "java-net-URI"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "java-net-URI")))]
pub fn resolve_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::net::URI>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URIUtils", java.flags == PUBLIC | STATIC, .name == "resolve", .descriptor == "(Ljava/net/URI;Ljava/lang/String;)Ljava/net/URI;"
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/URIUtils\0", "resolve\0", "(Ljava/net/URI;Ljava/lang/String;)Ljava/net/URI;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [resolve](https://developer.android.com/reference/org/apache/http/client/utils/URIUtils.html#resolve(java.net.URI,%20java.net.URI))
///
/// Required features: "java-net-URI"
#[cfg(any(feature = "all", all(feature = "java-net-URI")))]
pub fn resolve_URI_URI<'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::net::URI>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::net::URI>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/client/utils/URIUtils", java.flags == PUBLIC | STATIC, .name == "resolve", .descriptor == "(Ljava/net/URI;Ljava/net/URI;)Ljava/net/URI;"
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/URIUtils\0", "resolve\0", "(Ljava/net/URI;Ljava/net/URI;)Ljava/net/URI;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
}
}