Share via


URLConnection.Url Property

Definition

The URL represents the remote object on the World Wide Web to which this connection is opened.

[Android.Runtime.Register("url")]
protected Java.Net.URL? Url { get; set; }
[<Android.Runtime.Register("url")>]
member this.Url : Java.Net.URL with get, set

Property Value

URL
Attributes

Remarks

The URL represents the remote object on the World Wide Web to which this connection is opened.

The value of this field can be accessed by the getURL method.

The default value of this variable is the value of the URL argument in the URLConnection constructor.

Java documentation for java.net.URLConnection.url.

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