[]Struct jni_android_sys::javax::net::ssl::SSLSocketFactory

#[repr(transparent)]
pub struct 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]

pub fn getDefault<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, SocketFactory>>, Local<'env, Throwable>>
[src]

getDefault

Required features: "javax-net-SocketFactory"

pub fn getDefaultCipherSuites<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getDefaultCipherSuites

Required features: "java-lang-String"

pub fn getSupportedCipherSuites<'env>(
    &'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]

getSupportedCipherSuites

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]

createSocket

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]

createSocket

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]

createSocket

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]

createSocket

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]

createSocket

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]

createSocket

Required features: "java-net-InetAddress", "java-net-Socket"

Trait Implementations

impl AsJValue for SSLSocketFactory

impl AsValidJObjectAndEnv for SSLSocketFactory

impl Deref for SSLSocketFactory

type Target = SocketFactory

The resulting type after dereferencing.

impl JniType for SSLSocketFactory

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.