[−]Struct jni_android_sys::javax::net::ssl::SSLSocketFactory
public class SSLSocketFactory
Required feature: "javax-net-ssl-SSLSocketFactory"
Methods
impl SSLSocketFactory
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, SSLSocketFactory>, Local<'env, Throwable>>
pub fn getDefault<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, SocketFactory>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, SocketFactory>>, Local<'env, Throwable>>
Required features: "javax-net-SocketFactory"
pub fn getDefaultCipherSuites<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSupportedCipherSuites<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn createSocket<'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"
Methods from Deref<Target = SocketFactory>
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 createSocket_String_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-net-Socket"
pub fn createSocket_String_int_InetAddress_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env InetAddress>>,
arg3: i32
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env InetAddress>>,
arg3: i32
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-net-InetAddress", "java-net-Socket"
pub fn createSocket_InetAddress_int<'env>(
&'env self,
arg0: impl Into<Option<&'env InetAddress>>,
arg1: i32
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InetAddress>>,
arg1: i32
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
Required features: "java-net-InetAddress", "java-net-Socket"
pub fn createSocket_InetAddress_int_InetAddress_int<'env>(
&'env self,
arg0: impl Into<Option<&'env InetAddress>>,
arg1: i32,
arg2: impl Into<Option<&'env InetAddress>>,
arg3: i32
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InetAddress>>,
arg1: i32,
arg2: impl Into<Option<&'env InetAddress>>,
arg3: i32
) -> Result<Option<Local<'env, Socket>>, Local<'env, Throwable>>
Required features: "java-net-InetAddress", "java-net-Socket"
Trait Implementations
impl AsJValue for SSLSocketFactory
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>,