[−]Struct jni_android_sys::org::apache::http::conn::ssl::SSLSocketFactory
public class SSLSocketFactory
Required feature: "org-apache-http-conn-ssl-SSLSocketFactory"
Methods
impl SSLSocketFactory
pub fn new_String_KeyStore_String_KeyStore_SecureRandom_HostNameResolver<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env KeyStore>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env KeyStore>>,
arg4: impl Into<Option<&'env SecureRandom>>,
arg5: impl Into<Option<&'env HostNameResolver>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env KeyStore>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env KeyStore>>,
arg4: impl Into<Option<&'env SecureRandom>>,
arg5: impl Into<Option<&'env HostNameResolver>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-security-KeyStore", "java-security-SecureRandom", "org-apache-http-conn-scheme-HostNameResolver"
pub fn new_KeyStore_String_KeyStore<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env KeyStore>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env KeyStore>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env KeyStore>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env KeyStore>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-security-KeyStore"
pub fn new_KeyStore_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env KeyStore>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env KeyStore>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-security-KeyStore"
pub fn new_KeyStore<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env KeyStore>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env KeyStore>>
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
Required features: "java-security-KeyStore"
pub fn getSocketFactory<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, SSLSocketFactory>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, SSLSocketFactory>>, Local<'env, Throwable>>
Required features: "org-apache-http-conn-ssl-SSLSocketFactory"
pub fn createSocket<'env>(
&'env self
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
Required features: "java-net-Socket"
pub fn connectSocket<'env>(
&'env self,
arg0: impl Into<Option<&'env Socket>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: impl Into<Option<&'env InetAddress>>,
arg4: i32,
arg5: impl Into<Option<&'env HttpParams>>
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Socket>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: impl Into<Option<&'env InetAddress>>,
arg4: i32,
arg5: impl Into<Option<&'env HttpParams>>
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-net-InetAddress", "java-net-Socket", "org-apache-http-params-HttpParams"
pub fn isSecure<'env>(
&'env self,
arg0: impl Into<Option<&'env Socket>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Socket>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-net-Socket"
pub fn createSocket_Socket_String_int_boolean<'env>(
&'env self,
arg0: impl Into<Option<&'env Socket>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: bool
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Socket>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: bool
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-net-Socket"
pub fn setHostnameVerifier<'env>(
&'env self,
arg0: impl Into<Option<&'env X509HostnameVerifier>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env X509HostnameVerifier>>
) -> Result<(), Local<'env, Throwable>>
Required features: "org-apache-http-conn-ssl-X509HostnameVerifier"
pub fn getHostnameVerifier<'env>(
&'env self
) -> Result<Option<Local<'env, X509HostnameVerifier>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, X509HostnameVerifier>>, Local<'env, Throwable>>
Required features: "org-apache-http-conn-ssl-X509HostnameVerifier"
pub fn ALLOW_ALL_HOSTNAME_VERIFIER<'env>(
env: &'env Env
) -> Option<Local<'env, X509HostnameVerifier>>
[src]
env: &'env Env
) -> Option<Local<'env, X509HostnameVerifier>>
get public static final ALLOW_ALL_HOSTNAME_VERIFIER
Required feature: "org-apache-http-conn-ssl-X509HostnameVerifier"
pub fn BROWSER_COMPATIBLE_HOSTNAME_VERIFIER<'env>(
env: &'env Env
) -> Option<Local<'env, X509HostnameVerifier>>
[src]
env: &'env Env
) -> Option<Local<'env, X509HostnameVerifier>>
get public static final BROWSER_COMPATIBLE_HOSTNAME_VERIFIER
Required feature: "org-apache-http-conn-ssl-X509HostnameVerifier"
pub const SSL: &'static str
[src]
public static final SSL
pub const SSLV2: &'static str
[src]
public static final SSLV2
pub fn STRICT_HOSTNAME_VERIFIER<'env>(
env: &'env Env
) -> Option<Local<'env, X509HostnameVerifier>>
[src]
env: &'env Env
) -> Option<Local<'env, X509HostnameVerifier>>
get public static final STRICT_HOSTNAME_VERIFIER
Required feature: "org-apache-http-conn-ssl-X509HostnameVerifier"
pub const TLS: &'static str
[src]
public static final TLS
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for SSLSocketFactory
impl AsRef<LayeredSocketFactory> for SSLSocketFactory
fn as_ref(&self) -> &LayeredSocketFactory
impl AsValidJObjectAndEnv for SSLSocketFactory
impl Deref for SSLSocketFactory
impl JniType for SSLSocketFactory
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SSLSocketFactory
impl !Send for SSLSocketFactory
impl !Sync for SSLSocketFactory
impl Unpin for SSLSocketFactory
impl UnwindSafe for SSLSocketFactory
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,