UrlQuerySanitizer Constructors

Definition

Overloads

UrlQuerySanitizer()

Constructs a UrlQuerySanitizer.

UrlQuerySanitizer(String)

Constructs a UrlQuerySanitizer and parses a URL.

UrlQuerySanitizer(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

UrlQuerySanitizer()

Constructs a UrlQuerySanitizer.

[Android.Runtime.Register(".ctor", "()V", "")]
public UrlQuerySanitizer ();
Attributes

Remarks

Constructs a UrlQuerySanitizer.

Defaults: <ul> <li>unregistered parameters are not allowed. <li>the last instance of a repeated parameter is preferred. <li>The default value sanitizer is an AllIllegal value sanitizer. <ul>

Java documentation for android.net.UrlQuerySanitizer.UrlQuerySanitizer().

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

UrlQuerySanitizer(String)

Constructs a UrlQuerySanitizer and parses a URL.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public UrlQuerySanitizer (string? url);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Net.UrlQuerySanitizer : string -> Android.Net.UrlQuerySanitizer

Parameters

url
String
Attributes

Remarks

Constructs a UrlQuerySanitizer and parses a URL. This constructor is provided for convenience when the default parsing behavior is acceptable.

Because the URL is parsed before the constructor returns, there isn't a chance to configure the sanitizer to change the parsing behavior.

UrlQuerySanitizer sanitizer = new UrlQuerySanitizer(myUrl); String name = sanitizer.getValue("name");

Defaults: <ul> <li>unregistered parameters <em>are</em> allowed. <li>the last instance of a repeated parameter is preferred. <li>The default value sanitizer is an AllIllegal value sanitizer. <ul>

Java documentation for android.net.UrlQuerySanitizer.UrlQuerySanitizer(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

UrlQuerySanitizer(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected UrlQuerySanitizer (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.UrlQuerySanitizer : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.UrlQuerySanitizer

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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