[−]Struct jni_android_sys::javax::net::ssl::SSLSocket
public class SSLSocket
Required feature: "javax-net-ssl-SSLSocket"
Methods
impl SSLSocket
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 getEnabledCipherSuites<'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 setEnabledCipherSuites<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSupportedProtocols<'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 getEnabledProtocols<'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 setEnabledProtocols<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<String, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSession<'env>(
&'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLSession"
pub fn getHandshakeSession<'env>(
&'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SSLSession>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLSession"
pub fn addHandshakeCompletedListener<'env>(
&'env self,
arg0: impl Into<Option<&'env HandshakeCompletedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env HandshakeCompletedListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "javax-net-ssl-HandshakeCompletedListener"
pub fn removeHandshakeCompletedListener<'env>(
&'env self,
arg0: impl Into<Option<&'env HandshakeCompletedListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env HandshakeCompletedListener>>
) -> Result<(), Local<'env, Throwable>>
removeHandshakeCompletedListener
Required features: "javax-net-ssl-HandshakeCompletedListener"
pub fn startHandshake<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setUseClientMode<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getUseClientMode<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setNeedClientAuth<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getNeedClientAuth<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setWantClientAuth<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getWantClientAuth<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setEnableSessionCreation<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getEnableSessionCreation<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn getSSLParameters<'env>(
&'env self
) -> Result<Option<Local<'env, SSLParameters>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SSLParameters>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLParameters"
pub fn setSSLParameters<'env>(
&'env self,
arg0: impl Into<Option<&'env SSLParameters>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SSLParameters>>
) -> Result<(), Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLParameters"
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"
Methods from Deref<Target = Socket>
pub fn connect_SocketAddress<'env>(
&'env self,
arg0: impl Into<Option<&'env SocketAddress>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SocketAddress>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-net-SocketAddress"
pub fn connect_SocketAddress_int<'env>(
&'env self,
arg0: impl Into<Option<&'env SocketAddress>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SocketAddress>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "java-net-SocketAddress"
pub fn bind<'env>(
&'env self,
arg0: impl Into<Option<&'env SocketAddress>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SocketAddress>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-net-SocketAddress"
pub fn getInetAddress<'env>(
&'env self
) -> Result<Option<Local<'env, InetAddress>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, InetAddress>>, Local<'env, Throwable>>
Required features: "java-net-InetAddress"
pub fn getLocalAddress<'env>(
&'env self
) -> Result<Option<Local<'env, InetAddress>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, InetAddress>>, Local<'env, Throwable>>
Required features: "java-net-InetAddress"
pub fn getPort<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getLocalPort<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getRemoteSocketAddress<'env>(
&'env self
) -> Result<Option<Local<'env, SocketAddress>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SocketAddress>>, Local<'env, Throwable>>
Required features: "java-net-SocketAddress"
pub fn getLocalSocketAddress<'env>(
&'env self
) -> Result<Option<Local<'env, SocketAddress>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SocketAddress>>, Local<'env, Throwable>>
Required features: "java-net-SocketAddress"
pub fn getChannel<'env>(
&'env self
) -> Result<Option<Local<'env, SocketChannel>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SocketChannel>>, Local<'env, Throwable>>
Required features: "java-nio-channels-SocketChannel"
pub fn getInputStream<'env>(
&'env self
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, InputStream>>, Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn getOutputStream<'env>(
&'env self
) -> Result<Option<Local<'env, OutputStream>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, OutputStream>>, Local<'env, Throwable>>
Required features: "java-io-OutputStream"
pub fn setTcpNoDelay<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getTcpNoDelay<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setSoLinger<'env>(
&'env self,
arg0: bool,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getSoLinger<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn sendUrgentData<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setOOBInline<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getOOBInline<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setSoTimeout<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getSoTimeout<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setSendBufferSize<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getSendBufferSize<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setReceiveBufferSize<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getReceiveBufferSize<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setKeepAlive<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getKeepAlive<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setTrafficClass<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getTrafficClass<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setReuseAddress<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getReuseAddress<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn shutdownInput<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn shutdownOutput<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
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 isConnected<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isBound<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isClosed<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isInputShutdown<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isOutputShutdown<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setPerformancePreferences<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Trait Implementations
impl AsJValue for SSLSocket
impl AsValidJObjectAndEnv for SSLSocket
impl Deref for SSLSocket
impl JniType for SSLSocket
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SSLSocket
impl !Send for SSLSocket
impl !Sync for SSLSocket
impl Unpin for SSLSocket
impl UnwindSafe for SSLSocket
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>,