[]Struct jni_android_sys::java::net::CookieManager

#[repr(transparent)]
pub struct CookieManager(_);

public class CookieManager

Required feature: "java-net-CookieManager"

Methods

impl CookieManager

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

pub fn new_CookieStore_CookiePolicy<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CookieStore>>,
    arg1: impl Into<Option<&'env CookiePolicy>>
) -> Result<Local<'env, CookieManager>, Local<'env, Throwable>>
[src]

CookieManager

Required features: "java-net-CookiePolicy", "java-net-CookieStore"

pub fn setCookiePolicy<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CookiePolicy>>
) -> Result<(), Local<'env, Throwable>>
[src]

setCookiePolicy

Required features: "java-net-CookiePolicy"

pub fn getCookieStore<'env>(
    &'env self
) -> Result<Option<Local<'env, CookieStore>>, Local<'env, Throwable>>
[src]

getCookieStore

Required features: "java-net-CookieStore"

pub fn get<'env>(
    &'env self,
    arg0: impl Into<Option<&'env URI>>,
    arg1: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]

get

Required features: "java-net-URI", "java-util-Map"

pub fn put<'env>(
    &'env self,
    arg0: impl Into<Option<&'env URI>>,
    arg1: impl Into<Option<&'env Map>>
) -> Result<(), Local<'env, Throwable>>
[src]

put

Required features: "java-net-URI", "java-util-Map"

Methods from Deref<Target = CookieHandler>

pub fn get<'env>(
    &'env self,
    arg0: impl Into<Option<&'env URI>>,
    arg1: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]

get

Required features: "java-net-URI", "java-util-Map"

pub fn put<'env>(
    &'env self,
    arg0: impl Into<Option<&'env URI>>,
    arg1: impl Into<Option<&'env Map>>
) -> Result<(), Local<'env, Throwable>>
[src]

put

Required features: "java-net-URI", "java-util-Map"

Trait Implementations

impl AsJValue for CookieManager

impl AsValidJObjectAndEnv for CookieManager

impl Deref for CookieManager

type Target = CookieHandler

The resulting type after dereferencing.

impl JniType for CookieManager

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.