// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "org-apache-http-conn-routing-HttpRoute"))]
__jni_bindgen! {
/// public final class [HttpRoute](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html)
///
/// Required feature: "org-apache-http-conn-routing-HttpRoute"
#[deprecated] public final class HttpRoute ("org/apache/http/conn/routing/HttpRoute") extends crate::java::lang::Object, implements crate::org::apache::http::conn::routing::RouteInfo, crate::java::lang::Cloneable {
/// [HttpRoute](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#HttpRoute(org.apache.http.HttpHost,%20java.net.InetAddress,%20org.apache.http.HttpHost%5B%5D,%20boolean,%20org.apache.http.conn.routing.RouteInfo.TunnelType,%20org.apache.http.conn.routing.RouteInfo.LayerType))
///
/// Required features: "java-net-InetAddress", "org-apache-http-HttpHost", "org-apache-http-conn-routing-RouteInfo_LayerType", "org-apache-http-conn-routing-RouteInfo_TunnelType"
#[cfg(any(feature = "all", all(feature = "java-net-InetAddress", feature = "org-apache-http-HttpHost", feature = "org-apache-http-conn-routing-RouteInfo_LayerType", feature = "org-apache-http-conn-routing-RouteInfo_TunnelType")))]
pub fn new_HttpHost_InetAddress_HttpHost_array_boolean_TunnelType_LayerType<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::net::InetAddress>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env __jni_bindgen::ObjectArray<crate::org::apache::http::HttpHost, crate::java::lang::Throwable>>>, arg3: bool, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::conn::routing::RouteInfo_TunnelType>>, arg5: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::conn::routing::RouteInfo_LayerType>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::org::apache::http::conn::routing::HttpRoute>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;[Lorg/apache/http/HttpHost;ZLorg/apache/http/conn/routing/RouteInfo$TunnelType;Lorg/apache/http/conn/routing/RouteInfo$LayerType;)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()), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into()), __jni_bindgen::AsJValue::as_jvalue(&arg5.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/conn/routing/HttpRoute\0", "<init>\0", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;[Lorg/apache/http/HttpHost;ZLorg/apache/http/conn/routing/RouteInfo$TunnelType;Lorg/apache/http/conn/routing/RouteInfo$LayerType;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [HttpRoute](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#HttpRoute(org.apache.http.HttpHost,%20java.net.InetAddress,%20org.apache.http.HttpHost,%20boolean,%20org.apache.http.conn.routing.RouteInfo.TunnelType,%20org.apache.http.conn.routing.RouteInfo.LayerType))
///
/// Required features: "java-net-InetAddress", "org-apache-http-HttpHost", "org-apache-http-conn-routing-RouteInfo_LayerType", "org-apache-http-conn-routing-RouteInfo_TunnelType"
#[cfg(any(feature = "all", all(feature = "java-net-InetAddress", feature = "org-apache-http-HttpHost", feature = "org-apache-http-conn-routing-RouteInfo_LayerType", feature = "org-apache-http-conn-routing-RouteInfo_TunnelType")))]
pub fn new_HttpHost_InetAddress_HttpHost_boolean_TunnelType_LayerType<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::net::InetAddress>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg3: bool, arg4: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::conn::routing::RouteInfo_TunnelType>>, arg5: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::conn::routing::RouteInfo_LayerType>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::org::apache::http::conn::routing::HttpRoute>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Lorg/apache/http/HttpHost;ZLorg/apache/http/conn/routing/RouteInfo$TunnelType;Lorg/apache/http/conn/routing/RouteInfo$LayerType;)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()), __jni_bindgen::AsJValue::as_jvalue(&arg3), __jni_bindgen::AsJValue::as_jvalue(&arg4.into()), __jni_bindgen::AsJValue::as_jvalue(&arg5.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/conn/routing/HttpRoute\0", "<init>\0", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Lorg/apache/http/HttpHost;ZLorg/apache/http/conn/routing/RouteInfo$TunnelType;Lorg/apache/http/conn/routing/RouteInfo$LayerType;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [HttpRoute](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#HttpRoute(org.apache.http.HttpHost,%20java.net.InetAddress,%20boolean))
///
/// Required features: "java-net-InetAddress", "org-apache-http-HttpHost"
#[cfg(any(feature = "all", all(feature = "java-net-InetAddress", feature = "org-apache-http-HttpHost")))]
pub fn new_HttpHost_InetAddress_boolean<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::net::InetAddress>>, arg2: bool) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::org::apache::http::conn::routing::HttpRoute>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Z)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)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/conn/routing/HttpRoute\0", "<init>\0", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Z)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [HttpRoute](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#HttpRoute(org.apache.http.HttpHost))
///
/// Required features: "org-apache-http-HttpHost"
#[cfg(any(feature = "all", all(feature = "org-apache-http-HttpHost")))]
pub fn new_HttpHost<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::org::apache::http::conn::routing::HttpRoute>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Lorg/apache/http/HttpHost;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/conn/routing/HttpRoute\0", "<init>\0", "(Lorg/apache/http/HttpHost;)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [HttpRoute](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#HttpRoute(org.apache.http.HttpHost,%20java.net.InetAddress,%20org.apache.http.HttpHost,%20boolean))
///
/// Required features: "java-net-InetAddress", "org-apache-http-HttpHost"
#[cfg(any(feature = "all", all(feature = "java-net-InetAddress", feature = "org-apache-http-HttpHost")))]
pub fn new_HttpHost_InetAddress_HttpHost_boolean<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::net::InetAddress>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::apache::http::HttpHost>>, arg3: bool) -> __jni_bindgen::std::result::Result<__jni_bindgen::Local<'env, crate::org::apache::http::conn::routing::HttpRoute>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC, .name == "<init>", .descriptor == "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Lorg/apache/http/HttpHost;Z)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()), __jni_bindgen::AsJValue::as_jvalue(&arg3)];
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/apache/http/conn/routing/HttpRoute\0", "<init>\0", "(Lorg/apache/http/HttpHost;Ljava/net/InetAddress;Lorg/apache/http/HttpHost;Z)V\0");
__jni_env.new_object_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
/// [getTargetHost](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#getTargetHost())
///
/// Required features: "org-apache-http-HttpHost"
#[cfg(any(feature = "all", all(feature = "org-apache-http-HttpHost")))]
pub fn getTargetHost<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::HttpHost>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "getTargetHost", .descriptor == "()Lorg/apache/http/HttpHost;"
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/conn/routing/HttpRoute\0", "getTargetHost\0", "()Lorg/apache/http/HttpHost;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getLocalAddress](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#getLocalAddress())
///
/// Required features: "java-net-InetAddress"
#[cfg(any(feature = "all", all(feature = "java-net-InetAddress")))]
pub fn getLocalAddress<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::net::InetAddress>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "getLocalAddress", .descriptor == "()Ljava/net/InetAddress;"
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/conn/routing/HttpRoute\0", "getLocalAddress\0", "()Ljava/net/InetAddress;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHopCount](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#getHopCount())
pub fn getHopCount<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "getHopCount", .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/conn/routing/HttpRoute\0", "getHopCount\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getHopTarget](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#getHopTarget(int))
///
/// Required features: "org-apache-http-HttpHost"
#[cfg(any(feature = "all", all(feature = "org-apache-http-HttpHost")))]
pub fn getHopTarget<'env>(&'env self, arg0: i32) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::HttpHost>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "getHopTarget", .descriptor == "(I)Lorg/apache/http/HttpHost;"
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/conn/routing/HttpRoute\0", "getHopTarget\0", "(I)Lorg/apache/http/HttpHost;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getProxyHost](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#getProxyHost())
///
/// Required features: "org-apache-http-HttpHost"
#[cfg(any(feature = "all", all(feature = "org-apache-http-HttpHost")))]
pub fn getProxyHost<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::HttpHost>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "getProxyHost", .descriptor == "()Lorg/apache/http/HttpHost;"
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/conn/routing/HttpRoute\0", "getProxyHost\0", "()Lorg/apache/http/HttpHost;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getTunnelType](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#getTunnelType())
///
/// Required features: "org-apache-http-conn-routing-RouteInfo_TunnelType"
#[cfg(any(feature = "all", all(feature = "org-apache-http-conn-routing-RouteInfo_TunnelType")))]
pub fn getTunnelType<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::conn::routing::RouteInfo_TunnelType>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "getTunnelType", .descriptor == "()Lorg/apache/http/conn/routing/RouteInfo$TunnelType;"
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/conn/routing/HttpRoute\0", "getTunnelType\0", "()Lorg/apache/http/conn/routing/RouteInfo$TunnelType;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isTunnelled](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#isTunnelled())
pub fn isTunnelled<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "isTunnelled", .descriptor == "()Z"
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/conn/routing/HttpRoute\0", "isTunnelled\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getLayerType](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#getLayerType())
///
/// Required features: "org-apache-http-conn-routing-RouteInfo_LayerType"
#[cfg(any(feature = "all", all(feature = "org-apache-http-conn-routing-RouteInfo_LayerType")))]
pub fn getLayerType<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::apache::http::conn::routing::RouteInfo_LayerType>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "getLayerType", .descriptor == "()Lorg/apache/http/conn/routing/RouteInfo$LayerType;"
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/conn/routing/HttpRoute\0", "getLayerType\0", "()Lorg/apache/http/conn/routing/RouteInfo$LayerType;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isLayered](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#isLayered())
pub fn isLayered<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "isLayered", .descriptor == "()Z"
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/conn/routing/HttpRoute\0", "isLayered\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [isSecure](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#isSecure())
pub fn isSecure<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "isSecure", .descriptor == "()Z"
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/conn/routing/HttpRoute\0", "isSecure\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [equals](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#equals(java.lang.Object))
///
/// Required features: "java-lang-Object"
#[cfg(any(feature = "all", all(feature = "java-lang-Object")))]
pub fn equals<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::Object>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "equals", .descriptor == "(Ljava/lang/Object;)Z"
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/conn/routing/HttpRoute\0", "equals\0", "(Ljava/lang/Object;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [hashCode](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#hashCode())
pub fn hashCode<'env>(&'env self) -> __jni_bindgen::std::result::Result<i32, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "hashCode", .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/conn/routing/HttpRoute\0", "hashCode\0", "()I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [toString](https://developer.android.com/reference/org/apache/http/conn/routing/HttpRoute.html#toString())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn toString<'env>(&'env self) -> __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/conn/routing/HttpRoute", java.flags == PUBLIC | FINAL, .name == "toString", .descriptor == "()Ljava/lang/String;"
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/conn/routing/HttpRoute\0", "toString\0", "()Ljava/lang/String;\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/conn/routing/HttpRoute.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/conn/routing/HttpRoute", 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/conn/routing/HttpRoute\0", "clone\0", "()Ljava/lang/Object;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}