1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "org-apache-http-cookie-ClientCookie"))]
__jni_bindgen! {
/// public interface [ClientCookie](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html)
///
/// Required feature: "org-apache-http-cookie-ClientCookie"
public interface ClientCookie ("org/apache/http/cookie/ClientCookie") extends crate::java::lang::Object, implements crate::org::apache::http::cookie::Cookie {
/// [getAttribute](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#getAttribute(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getAttribute<'env>(&'env self, arg0: 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/cookie/ClientCookie", java.flags == PUBLIC | ABSTRACT, .name == "getAttribute", .descriptor == "(Ljava/lang/String;)Ljava/lang/String;"
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/cookie/ClientCookie\0", "getAttribute\0", "(Ljava/lang/String;)Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [containsAttribute](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#containsAttribute(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn containsAttribute<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/apache/http/cookie/ClientCookie", java.flags == PUBLIC | ABSTRACT, .name == "containsAttribute", .descriptor == "(Ljava/lang/String;)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/cookie/ClientCookie\0", "containsAttribute\0", "(Ljava/lang/String;)Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [COMMENTURL_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#COMMENTURL_ATTR)
pub const COMMENTURL_ATTR : &'static str = "commenturl";
/// public static final [COMMENT_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#COMMENT_ATTR)
pub const COMMENT_ATTR : &'static str = "comment";
/// public static final [DISCARD_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#DISCARD_ATTR)
pub const DISCARD_ATTR : &'static str = "discard";
/// public static final [DOMAIN_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#DOMAIN_ATTR)
pub const DOMAIN_ATTR : &'static str = "domain";
/// public static final [EXPIRES_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#EXPIRES_ATTR)
pub const EXPIRES_ATTR : &'static str = "expires";
/// public static final [MAX_AGE_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#MAX_AGE_ATTR)
pub const MAX_AGE_ATTR : &'static str = "max-age";
/// public static final [PATH_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#PATH_ATTR)
pub const PATH_ATTR : &'static str = "path";
/// public static final [PORT_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#PORT_ATTR)
pub const PORT_ATTR : &'static str = "port";
/// public static final [SECURE_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#SECURE_ATTR)
pub const SECURE_ATTR : &'static str = "secure";
/// public static final [VERSION_ATTR](https://developer.android.com/reference/org/apache/http/cookie/ClientCookie.html#VERSION_ATTR)
pub const VERSION_ATTR : &'static str = "version";
}
}