Bagikan melalui


ISSLSession.GetValue(String) Method

Definition

Returns the object bound to the given name in the session's application layer data.

[Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetValue_Ljava_lang_String_Handler:Javax.Net.Ssl.ISSLSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetValue (string? name);
[<Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/Object;", "GetGetValue_Ljava_lang_String_Handler:Javax.Net.Ssl.ISSLSessionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetValue : string -> Java.Lang.Object

Parameters

name
String

the name of the binding to find.

Returns

the value bound to that name, or null if the binding does not exist.

Attributes

Exceptions

if name is null.

Remarks

Returns the object bound to the given name in the session's application layer data. Returns null if there is no such binding.

For security reasons, the same named values may not be visible across different access control contexts.

Java documentation for javax.net.ssl.SSLSession.getValue(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to