[−]Struct jni_android_sys::javax::net::ssl::HttpsURLConnection
public class HttpsURLConnection
Required feature: "javax-net-ssl-HttpsURLConnection"
Methods
impl HttpsURLConnection
pub fn getCipherSuite<'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 getLocalCertificates<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
Required features: "java-security-cert-Certificate"
pub fn getServerCertificates<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<Certificate, Throwable>>>, Local<'env, Throwable>>
Required features: "java-security-cert-Certificate"
pub fn getPeerPrincipal<'env>(
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
Required features: "java-security-Principal"
pub fn getLocalPrincipal<'env>(
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Principal>>, Local<'env, Throwable>>
Required features: "java-security-Principal"
pub fn setDefaultHostnameVerifier<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env HostnameVerifier>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env HostnameVerifier>>
) -> Result<(), Local<'env, Throwable>>
Required features: "javax-net-ssl-HostnameVerifier"
pub fn getDefaultHostnameVerifier<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, HostnameVerifier>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, HostnameVerifier>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-HostnameVerifier"
pub fn setHostnameVerifier<'env>(
&'env self,
arg0: impl Into<Option<&'env HostnameVerifier>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env HostnameVerifier>>
) -> Result<(), Local<'env, Throwable>>
Required features: "javax-net-ssl-HostnameVerifier"
pub fn getHostnameVerifier<'env>(
&'env self
) -> Result<Option<Local<'env, HostnameVerifier>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, HostnameVerifier>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-HostnameVerifier"
pub fn setDefaultSSLSocketFactory<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SSLSocketFactory>>
) -> Result<(), Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env SSLSocketFactory>>
) -> Result<(), Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLSocketFactory"
pub fn getDefaultSSLSocketFactory<'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: "javax-net-ssl-SSLSocketFactory"
pub fn setSSLSocketFactory<'env>(
&'env self,
arg0: impl Into<Option<&'env SSLSocketFactory>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SSLSocketFactory>>
) -> Result<(), Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLSocketFactory"
pub fn getSSLSocketFactory<'env>(
&'env self
) -> Result<Option<Local<'env, SSLSocketFactory>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, SSLSocketFactory>>, Local<'env, Throwable>>
Required features: "javax-net-ssl-SSLSocketFactory"
Methods from Deref<Target = HttpURLConnection>
pub fn getHeaderFieldKey<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setFixedLengthStreamingMode_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setFixedLengthStreamingMode_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn setChunkedStreamingMode<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getHeaderField<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setInstanceFollowRedirects<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getInstanceFollowRedirects<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setRequestMethod<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getRequestMethod<'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 getResponseCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getResponseMessage<'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 getHeaderFieldDate<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i64
) -> Result<i64, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn disconnect<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn usingProxy<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn getPermission<'env>(
&'env self
) -> Result<Option<Local<'env, Permission>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Permission>>, Local<'env, Throwable>>
Required features: "java-security-Permission"
pub fn getErrorStream<'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 const HTTP_ACCEPTED: i32
[src]
pub const HTTP_BAD_GATEWAY: i32
[src]
pub const HTTP_BAD_METHOD: i32
[src]
pub const HTTP_BAD_REQUEST: i32
[src]
pub const HTTP_CLIENT_TIMEOUT: i32
[src]
pub const HTTP_CONFLICT: i32
[src]
pub const HTTP_CREATED: i32
[src]
pub const HTTP_ENTITY_TOO_LARGE: i32
[src]
pub const HTTP_FORBIDDEN: i32
[src]
pub const HTTP_GATEWAY_TIMEOUT: i32
[src]
pub const HTTP_GONE: i32
[src]
pub const HTTP_INTERNAL_ERROR: i32
[src]
pub const HTTP_LENGTH_REQUIRED: i32
[src]
pub const HTTP_MOVED_PERM: i32
[src]
pub const HTTP_MOVED_TEMP: i32
[src]
pub const HTTP_MULT_CHOICE: i32
[src]
pub const HTTP_NOT_ACCEPTABLE: i32
[src]
pub const HTTP_NOT_AUTHORITATIVE: i32
[src]
pub const HTTP_NOT_FOUND: i32
[src]
pub const HTTP_NOT_IMPLEMENTED: i32
[src]
pub const HTTP_NOT_MODIFIED: i32
[src]
pub const HTTP_NO_CONTENT: i32
[src]
pub const HTTP_OK: i32
[src]
pub const HTTP_PARTIAL: i32
[src]
pub const HTTP_PAYMENT_REQUIRED: i32
[src]
pub const HTTP_PRECON_FAILED: i32
[src]
pub const HTTP_PROXY_AUTH: i32
[src]
pub const HTTP_REQ_TOO_LONG: i32
[src]
pub const HTTP_RESET: i32
[src]
pub const HTTP_SEE_OTHER: i32
[src]
pub const HTTP_SERVER_ERROR: i32
[src]
pub const HTTP_UNAUTHORIZED: i32
[src]
pub const HTTP_UNAVAILABLE: i32
[src]
pub const HTTP_UNSUPPORTED_TYPE: i32
[src]
pub const HTTP_USE_PROXY: i32
[src]
pub const HTTP_VERSION: i32
[src]
Trait Implementations
impl AsJValue for HttpsURLConnection
impl AsValidJObjectAndEnv for HttpsURLConnection
impl Deref for HttpsURLConnection
type Target = HttpURLConnection
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for HttpsURLConnection
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for HttpsURLConnection
impl !Send for HttpsURLConnection
impl !Sync for HttpsURLConnection
impl Unpin for HttpsURLConnection
impl UnwindSafe for HttpsURLConnection
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>,