/Generated/v2.1/Java.Net.cs
https://gitlab.com/Pfhoenix/api · C# · 1145 lines · 424 code · 89 blank · 632 comment · 0 complexity · cb0ac7d7ce1eab36b396aa1a54338666 MD5 · raw file
- // Copyright (C) 2014 dot42
- //
- // Original filename: Java.Net.cs
- //
- // Licensed under the Apache License, Version 2.0 (the "License");
- // you may not use this file except in compliance with the License.
- // You may obtain a copy of the License at
- //
- // http://www.apache.org/licenses/LICENSE-2.0
- //
- // Unless required by applicable law or agreed to in writing, software
- // distributed under the License is distributed on an "AS IS" BASIS,
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- // See the License for the specific language governing permissions and
- // limitations under the License.
- #pragma warning disable 1717
- namespace Java.Net
- {
- /// <summary>
- /// <para>This class establishes a connection to a <c> jar: </c> URL using the <c> JAR </c> protocol. A <c> JarURLConnection </c> instance can refer to either a JAR archive file or to an entry of such a file. <c> jar: </c> URLs are specified as follows: <b>jar:{archive-url}!/{entry}</b> where "!/" is called a separator. This separator is important to determine if an archive or an entry of an archive is referred. </para><para>Examples: Archive: <c> jar:http://www.example.com/applets/archive.jar!/ </c> File Entry: <c> jar:http://www.example.com/applets/archive.jar!/test.class </c> Directory Entry: <c> jar:http://www.example.com/applets/archive.jar!/applets/ </c> </para>
- /// </summary>
- /// <java-name>
- /// java/net/JarURLConnection
- /// </java-name>
- [Dot42.DexImport("java/net/JarURLConnection", AccessFlags = 1057)]
- public abstract partial class JarURLConnection : global::Java.Net.URLConnection
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>The location part of the represented URL. </para>
- /// </summary>
- /// <java-name>
- /// jarFileURLConnection
- /// </java-name>
- [Dot42.DexImport("jarFileURLConnection", "Ljava/net/URLConnection;", AccessFlags = 4)]
- protected internal global::Java.Net.URLConnection JarFileURLConnection;
- /// <summary>
- /// <para>Constructs an instance of <c> JarURLConnection </c> that refers to the specified URL.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/net/URL;)V", AccessFlags = 4)]
- protected internal JarURLConnection(global::Java.Net.URL url) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns all attributes of the <c> JarEntry </c> referenced by this <c> JarURLConnection </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the attributes of the referenced <c> JarEntry </c> . </para>
- /// </returns>
- /// <java-name>
- /// getAttributes
- /// </java-name>
- [Dot42.DexImport("getAttributes", "()Ljava/util/jar/Attributes;", AccessFlags = 1)]
- public virtual global::Java.Util.Jar.Attributes GetAttributes() /* MethodBuilder.Create */
- {
- return default(global::Java.Util.Jar.Attributes);
- }
- /// <summary>
- /// <para>Returns all certificates of the <c> JarEntry </c> referenced by this <c> JarURLConnection </c> instance. This method will return <c> null </c> until the <c> InputStream </c> has been completely verified.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the certificates of the <c> JarEntry </c> as an array. </para>
- /// </returns>
- /// <java-name>
- /// getCertificates
- /// </java-name>
- [Dot42.DexImport("getCertificates", "()[Ljava/security/cert/Certificate;", AccessFlags = 1)]
- public virtual global::Java.Security.Cert.Certificate[] GetCertificates() /* MethodBuilder.Create */
- {
- return default(global::Java.Security.Cert.Certificate[]);
- }
- /// <summary>
- /// <para>Gets the name of the entry referenced by this <c> JarURLConnection </c> . The return value will be <c> null </c> if this instance refers to a JAR file rather than an JAR file entry.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the <c> JarEntry </c> name this instance refers to. </para>
- /// </returns>
- /// <java-name>
- /// getEntryName
- /// </java-name>
- [Dot42.DexImport("getEntryName", "()Ljava/lang/String;", AccessFlags = 1)]
- public virtual string GetEntryName() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Gets the <c> JarEntry </c> object of the entry referenced by this <c> JarURLConnection </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the referenced <c> JarEntry </c> object or <c> null </c> if no entry name is specified. </para>
- /// </returns>
- /// <java-name>
- /// getJarEntry
- /// </java-name>
- [Dot42.DexImport("getJarEntry", "()Ljava/util/jar/JarEntry;", AccessFlags = 1)]
- public virtual global::Java.Util.Jar.JarEntry GetJarEntry() /* MethodBuilder.Create */
- {
- return default(global::Java.Util.Jar.JarEntry);
- }
- /// <summary>
- /// <para>Gets the manifest file associated with this JAR-URL.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the manifest of the referenced JAR-file. </para>
- /// </returns>
- /// <java-name>
- /// getManifest
- /// </java-name>
- [Dot42.DexImport("getManifest", "()Ljava/util/jar/Manifest;", AccessFlags = 1)]
- public virtual global::Java.Util.Jar.Manifest GetManifest() /* MethodBuilder.Create */
- {
- return default(global::Java.Util.Jar.Manifest);
- }
- /// <summary>
- /// <para>Gets the <c> JarFile </c> object referenced by this <c> JarURLConnection </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the referenced JarFile object. </para>
- /// </returns>
- /// <java-name>
- /// getJarFile
- /// </java-name>
- [Dot42.DexImport("getJarFile", "()Ljava/util/jar/JarFile;", AccessFlags = 1025)]
- public abstract global::Java.Util.Jar.JarFile GetJarFile() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Gets the URL to the JAR-file referenced by this <c> JarURLConnection </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the URL to the JAR-file or <c> null </c> if there was an error retrieving the URL. </para>
- /// </returns>
- /// <java-name>
- /// getJarFileURL
- /// </java-name>
- [Dot42.DexImport("getJarFileURL", "()Ljava/net/URL;", AccessFlags = 1)]
- public virtual global::Java.Net.URL GetJarFileURL() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.URL);
- }
- /// <summary>
- /// <para>Gets all attributes of the manifest file referenced by this <c> JarURLConnection </c> . If this instance refers to a JAR-file rather than a JAR-file entry, <c> null </c> will be returned.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the attributes of the manifest file or <c> null </c> . </para>
- /// </returns>
- /// <java-name>
- /// getMainAttributes
- /// </java-name>
- [Dot42.DexImport("getMainAttributes", "()Ljava/util/jar/Attributes;", AccessFlags = 1)]
- public virtual global::Java.Util.Jar.Attributes GetMainAttributes() /* MethodBuilder.Create */
- {
- return default(global::Java.Util.Jar.Attributes);
- }
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- internal JarURLConnection() /* TypeBuilder.AddDefaultConstructor */
- {
- }
- /// <summary>
- /// <para>Returns all attributes of the <c> JarEntry </c> referenced by this <c> JarURLConnection </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the attributes of the referenced <c> JarEntry </c> . </para>
- /// </returns>
- /// <java-name>
- /// getAttributes
- /// </java-name>
- public global::Java.Util.Jar.Attributes Attributes
- {
- [Dot42.DexImport("getAttributes", "()Ljava/util/jar/Attributes;", AccessFlags = 1)]
- get{ return GetAttributes(); }
- }
- /// <summary>
- /// <para>Returns all certificates of the <c> JarEntry </c> referenced by this <c> JarURLConnection </c> instance. This method will return <c> null </c> until the <c> InputStream </c> has been completely verified.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the certificates of the <c> JarEntry </c> as an array. </para>
- /// </returns>
- /// <java-name>
- /// getCertificates
- /// </java-name>
- public global::Java.Security.Cert.Certificate[] Certificates
- {
- [Dot42.DexImport("getCertificates", "()[Ljava/security/cert/Certificate;", AccessFlags = 1)]
- get{ return GetCertificates(); }
- }
- /// <summary>
- /// <para>Gets the name of the entry referenced by this <c> JarURLConnection </c> . The return value will be <c> null </c> if this instance refers to a JAR file rather than an JAR file entry.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the <c> JarEntry </c> name this instance refers to. </para>
- /// </returns>
- /// <java-name>
- /// getEntryName
- /// </java-name>
- public string EntryName
- {
- [Dot42.DexImport("getEntryName", "()Ljava/lang/String;", AccessFlags = 1)]
- get{ return GetEntryName(); }
- }
- /// <summary>
- /// <para>Gets the <c> JarEntry </c> object of the entry referenced by this <c> JarURLConnection </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the referenced <c> JarEntry </c> object or <c> null </c> if no entry name is specified. </para>
- /// </returns>
- /// <java-name>
- /// getJarEntry
- /// </java-name>
- public global::Java.Util.Jar.JarEntry JarEntry
- {
- [Dot42.DexImport("getJarEntry", "()Ljava/util/jar/JarEntry;", AccessFlags = 1)]
- get{ return GetJarEntry(); }
- }
- /// <summary>
- /// <para>Gets the manifest file associated with this JAR-URL.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the manifest of the referenced JAR-file. </para>
- /// </returns>
- /// <java-name>
- /// getManifest
- /// </java-name>
- public global::Java.Util.Jar.Manifest Manifest
- {
- [Dot42.DexImport("getManifest", "()Ljava/util/jar/Manifest;", AccessFlags = 1)]
- get{ return GetManifest(); }
- }
- /// <summary>
- /// <para>Gets the <c> JarFile </c> object referenced by this <c> JarURLConnection </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the referenced JarFile object. </para>
- /// </returns>
- /// <java-name>
- /// getJarFile
- /// </java-name>
- public global::Java.Util.Jar.JarFile JarFile
- {
- [Dot42.DexImport("getJarFile", "()Ljava/util/jar/JarFile;", AccessFlags = 1025)]
- get{ return GetJarFile(); }
- }
- /// <summary>
- /// <para>Gets the URL to the JAR-file referenced by this <c> JarURLConnection </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the URL to the JAR-file or <c> null </c> if there was an error retrieving the URL. </para>
- /// </returns>
- /// <java-name>
- /// getJarFileURL
- /// </java-name>
- public global::Java.Net.URL JarFileURL
- {
- [Dot42.DexImport("getJarFileURL", "()Ljava/net/URL;", AccessFlags = 1)]
- get{ return GetJarFileURL(); }
- }
- /// <summary>
- /// <para>Gets all attributes of the manifest file referenced by this <c> JarURLConnection </c> . If this instance refers to a JAR-file rather than a JAR-file entry, <c> null </c> will be returned.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the attributes of the manifest file or <c> null </c> . </para>
- /// </returns>
- /// <java-name>
- /// getMainAttributes
- /// </java-name>
- public global::Java.Util.Jar.Attributes MainAttributes
- {
- [Dot42.DexImport("getMainAttributes", "()Ljava/util/jar/Attributes;", AccessFlags = 1)]
- get{ return GetMainAttributes(); }
- }
- }
- /// <summary>
- /// <para>An IPv6 address. See InetAddress. </para>
- /// </summary>
- /// <java-name>
- /// java/net/Inet6Address
- /// </java-name>
- [Dot42.DexImport("java/net/Inet6Address", AccessFlags = 49)]
- public sealed partial class Inet6Address : global::Java.Net.InetAddress
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 0)]
- internal Inet6Address() /* MethodBuilder.Create */
- {
- }
- /// <java-name>
- /// getByAddress
- /// </java-name>
- [Dot42.DexImport("getByAddress", "(Ljava/lang/String;[BI)Ljava/net/Inet6Address;", AccessFlags = 9)]
- public static global::Java.Net.Inet6Address GetByAddress(string @string, sbyte[] sByte, int int32) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.Inet6Address);
- }
- /// <java-name>
- /// getByAddress
- /// </java-name>
- [Dot42.DexImport("getByAddress", "(Ljava/lang/String;[BI)Ljava/net/Inet6Address;", AccessFlags = 9, IgnoreFromJava = true)]
- public static global::Java.Net.Inet6Address GetByAddress(string @string, byte[] @byte, int int32) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.Inet6Address);
- }
- /// <java-name>
- /// getByAddress
- /// </java-name>
- [Dot42.DexImport("getByAddress", "(Ljava/lang/String;[BLjava/net/NetworkInterface;)Ljava/net/Inet6Address;", AccessFlags = 9)]
- public static global::Java.Net.Inet6Address GetByAddress(string @string, sbyte[] sByte, global::Java.Net.NetworkInterface networkInterface) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.Inet6Address);
- }
- /// <java-name>
- /// getByAddress
- /// </java-name>
- [Dot42.DexImport("getByAddress", "(Ljava/lang/String;[BLjava/net/NetworkInterface;)Ljava/net/Inet6Address;", AccessFlags = 9, IgnoreFromJava = true)]
- public static global::Java.Net.Inet6Address GetByAddress(string @string, byte[] @byte, global::Java.Net.NetworkInterface networkInterface) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.Inet6Address);
- }
- /// <summary>
- /// <para>Returns whether this address is a multicast address or not.</para><para>Valid IPv6 multicast addresses have the prefix <c> ff::/8 </c> .</para><para>Valid IPv4 multicast addresses have the prefix <c> 224/4 </c> . </para>
- /// </summary>
- /// <java-name>
- /// isMulticastAddress
- /// </java-name>
- [Dot42.DexImport("isMulticastAddress", "()Z", AccessFlags = 1)]
- public override bool IsMulticastAddress() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns whether this is the IPv6 unspecified wildcard address <c> :: </c> or the IPv4 "any" address, <c> 0.0.0.0 </c> . </para>
- /// </summary>
- /// <java-name>
- /// isAnyLocalAddress
- /// </java-name>
- [Dot42.DexImport("isAnyLocalAddress", "()Z", AccessFlags = 1)]
- public override bool IsAnyLocalAddress() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns whether this address is a loopback address or not.</para><para>Valid IPv4 loopback addresses have the prefix <c> 127/8 </c> .</para><para>The only valid IPv6 loopback address is <c> ::1 </c> . </para>
- /// </summary>
- /// <java-name>
- /// isLoopbackAddress
- /// </java-name>
- [Dot42.DexImport("isLoopbackAddress", "()Z", AccessFlags = 1)]
- public override bool IsLoopbackAddress() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns whether this address is a link-local address or not.</para><para>Valid IPv6 link-local addresses have the prefix <c> fe80::/10 </c> .</para><para> "Default Address Selection for Internet Protocol Version 6 (IPv6)" states that both IPv4 auto-configuration addresses (prefix <c> 169.254/16 </c> ) and IPv4 loopback addresses (prefix <c> 127/8 </c> ) have link-local scope, but Inet4Address only considers the auto-configuration addresses to have link-local scope. That is: the IPv4 loopback address returns false. </para>
- /// </summary>
- /// <java-name>
- /// isLinkLocalAddress
- /// </java-name>
- [Dot42.DexImport("isLinkLocalAddress", "()Z", AccessFlags = 1)]
- public override bool IsLinkLocalAddress() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns whether this address is a site-local address or not.</para><para>For the purposes of this method, valid IPv6 site-local addresses have the deprecated prefix <c> fec0::/10 </c> from , <b>not</b> the modern prefix <c> fc00::/7 </c> from .</para><para> "Default Address Selection for Internet Protocol Version 6 (IPv6)" states that IPv4 private addresses have the prefix <c> 10/8 </c> , <c> 172.16/12 </c> , or <c> 192.168/16 </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if this instance represents a site-local address, <c> false </c> otherwise. </para>
- /// </returns>
- /// <java-name>
- /// isSiteLocalAddress
- /// </java-name>
- [Dot42.DexImport("isSiteLocalAddress", "()Z", AccessFlags = 1)]
- public override bool IsSiteLocalAddress() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns whether this address is a global multicast address or not.</para><para>Valid IPv6 global multicast addresses have the prefix <c> ffxe::/16 </c> , where <c> x </c> is a set of flags and the additional 112 bits make up the global multicast address space.</para><para>Valid IPv4 global multicast addresses are the range of addresses from <c> 224.0.1.0 </c> to <c> 238.255.255.255 </c> . </para>
- /// </summary>
- /// <java-name>
- /// isMCGlobal
- /// </java-name>
- [Dot42.DexImport("isMCGlobal", "()Z", AccessFlags = 1)]
- public override bool IsMCGlobal() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns whether this address is a node-local multicast address or not.</para><para>Valid IPv6 node-local multicast addresses have the prefix <c> ffx1::/16 </c> , where x is a set of flags and the additional 112 bits make up the link-local multicast address space.</para><para>There are no valid IPv4 node-local multicast addresses. </para>
- /// </summary>
- /// <java-name>
- /// isMCNodeLocal
- /// </java-name>
- [Dot42.DexImport("isMCNodeLocal", "()Z", AccessFlags = 1)]
- public override bool IsMCNodeLocal() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns whether this address is a link-local multicast address or not.</para><para>Valid IPv6 link-local multicast addresses have the prefix <c> ffx2::/16 </c> , where x is a set of flags and the additional 112 bits make up the link-local multicast address space.</para><para>Valid IPv4 link-local multicast addresses have the prefix <c> 224.0.0/24 </c> . </para>
- /// </summary>
- /// <java-name>
- /// isMCLinkLocal
- /// </java-name>
- [Dot42.DexImport("isMCLinkLocal", "()Z", AccessFlags = 1)]
- public override bool IsMCLinkLocal() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns whether this address is a site-local multicast address or not.</para><para>Valid IPv6 site-local multicast addresses have the prefix <c> ffx5::/16 </c> , where x is a set of flags and the additional 112 bits make up the link-local multicast address space.</para><para>Valid IPv4 site-local multicast addresses have the prefix <c> 239.255/16 </c> . </para>
- /// </summary>
- /// <java-name>
- /// isMCSiteLocal
- /// </java-name>
- [Dot42.DexImport("isMCSiteLocal", "()Z", AccessFlags = 1)]
- public override bool IsMCSiteLocal() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns whether this address is a organization-local multicast address or not.</para><para>Valid IPv6 organization-local multicast addresses have the prefix <c> ffx8::/16 </c> , where x is a set of flags and the additional 112 bits make up the link-local multicast address space.</para><para>Valid IPv4 organization-local multicast addresses have the prefix <c> 239.192/14 </c> . </para>
- /// </summary>
- /// <java-name>
- /// isMCOrgLocal
- /// </java-name>
- [Dot42.DexImport("isMCOrgLocal", "()Z", AccessFlags = 1)]
- public override bool IsMCOrgLocal() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns the scope id if this address is scoped to an interface, 0 otherwise. </para>
- /// </summary>
- /// <java-name>
- /// getScopeId
- /// </java-name>
- [Dot42.DexImport("getScopeId", "()I", AccessFlags = 1)]
- public int GetScopeId() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Returns the network interface if this address is instanced with a scoped network interface, null otherwise. </para>
- /// </summary>
- /// <java-name>
- /// getScopedInterface
- /// </java-name>
- [Dot42.DexImport("getScopedInterface", "()Ljava/net/NetworkInterface;", AccessFlags = 1)]
- public global::Java.Net.NetworkInterface GetScopedInterface() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.NetworkInterface);
- }
- /// <summary>
- /// <para>Returns whether this IPv6 address is an IPv4-compatible address or not. An IPv4-compatible address has the prefix <c> ::/96 </c> and is a deprecated and no-longer used equivalent of the modern IPv4-mapped IPv6 addresses. </para>
- /// </summary>
- /// <java-name>
- /// isIPv4CompatibleAddress
- /// </java-name>
- [Dot42.DexImport("isIPv4CompatibleAddress", "()Z", AccessFlags = 1)]
- public bool IsIPv4CompatibleAddress() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns a string containing the host name (if available) and host address. For example: <c> "www.google.com/74.125.224.115" </c> or <c> "/127.0.0.1" </c> .</para><para>IPv6 addresses may additionally include an interface name or scope id. For example: <c> "www.google.com/2001:4860:4001:803::1013%eth0" </c> or <c> "/2001:4860:4001:803::1013%2" </c> . </para>
- /// </summary>
- /// <java-name>
- /// toString
- /// </java-name>
- [Dot42.DexImport("toString", "()Ljava/lang/String;", AccessFlags = 1)]
- public override string ToString() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the scope id if this address is scoped to an interface, 0 otherwise. </para>
- /// </summary>
- /// <java-name>
- /// getScopeId
- /// </java-name>
- public int ScopeId
- {
- [Dot42.DexImport("getScopeId", "()I", AccessFlags = 1)]
- get{ return GetScopeId(); }
- }
- /// <summary>
- /// <para>Returns the network interface if this address is instanced with a scoped network interface, null otherwise. </para>
- /// </summary>
- /// <java-name>
- /// getScopedInterface
- /// </java-name>
- public global::Java.Net.NetworkInterface ScopedInterface
- {
- [Dot42.DexImport("getScopedInterface", "()Ljava/net/NetworkInterface;", AccessFlags = 1)]
- get{ return GetScopedInterface(); }
- }
- }
- /// <summary>
- /// <para>This interface defines a factory for socket implementations. </para>
- /// </summary>
- /// <java-name>
- /// java/net/SocketImplFactory
- /// </java-name>
- [Dot42.DexImport("java/net/SocketImplFactory", AccessFlags = 1537)]
- public partial interface ISocketImplFactory
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates a new <c> SocketImpl </c> instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the created <c> SocketImpl </c> instance. </para>
- /// </returns>
- /// <java-name>
- /// createSocketImpl
- /// </java-name>
- [Dot42.DexImport("createSocketImpl", "()Ljava/net/SocketImpl;", AccessFlags = 1025)]
- global::Java.Net.SocketImpl CreateSocketImpl() /* MethodBuilder.Create */ ;
- }
- /// <summary>
- /// <para>This class is used to encode a string using the format required by <c> application/x-www-form-urlencoded </c> MIME content type.</para><para>All characters except letters ('a'..'z', 'A'..'Z') and numbers ('0'..'9') and characters '.', '-', '*', '_' are converted into their hexadecimal value prepended by ''. For example: '#' -> %23. In addition, spaces are substituted by '+'. </para>
- /// </summary>
- /// <java-name>
- /// java/net/URLEncoder
- /// </java-name>
- [Dot42.DexImport("java/net/URLEncoder", AccessFlags = 33)]
- public partial class URLEncoder
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 0)]
- internal URLEncoder() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Equivalent to <c> encode(s, "UTF-8") </c> .</para><para><xrefsect><xreftitle>Deprecated</xreftitle><xrefdescription><para>use encode(String, String) instead. </para></xrefdescription></xrefsect></para>
- /// </summary>
- /// <java-name>
- /// encode
- /// </java-name>
- [Dot42.DexImport("encode", "(Ljava/lang/String;)Ljava/lang/String;", AccessFlags = 9)]
- public static string Encode(string s) /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Encodes <c> s </c> using the Charset named by <c> charsetName </c> . </para>
- /// </summary>
- /// <java-name>
- /// encode
- /// </java-name>
- [Dot42.DexImport("encode", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", AccessFlags = 9)]
- public static string Encode(string s, string charsetName) /* MethodBuilder.Create */
- {
- return default(string);
- }
- }
- /// <summary>
- /// <para>This class loader is responsible for loading classes and resources from a list of URLs which can refer to either directories or JAR files. Classes loaded by this <c> URLClassLoader </c> are granted permission to access the URLs contained in the URL search list. </para>
- /// </summary>
- /// <java-name>
- /// java/net/URLClassLoader
- /// </java-name>
- [Dot42.DexImport("java/net/URLClassLoader", AccessFlags = 33)]
- public partial class URLClassLoader : global::Java.Security.SecureClassLoader
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Constructs a new <c> URLClassLoader </c> instance. The newly created instance will have the system ClassLoader as its parent. URLs that end with "/" are assumed to be directories, otherwise they are assumed to be JAR files.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "([Ljava/net/URL;)V", AccessFlags = 1)]
- public URLClassLoader(global::Java.Net.URL[] urls) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Constructs a new URLClassLoader instance. The newly created instance will have the system ClassLoader as its parent. URLs that end with "/" are assumed to be directories, otherwise they are assumed to be JAR files.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "([Ljava/net/URL;Ljava/lang/ClassLoader;)V", AccessFlags = 1)]
- public URLClassLoader(global::Java.Net.URL[] urls, global::Java.Lang.ClassLoader parent) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Constructs a new <c> URLClassLoader </c> instance. The newly created instance will have the specified <c> ClassLoader </c> as its parent and use the specified factory to create stream handlers. URLs that end with "/" are assumed to be directories, otherwise they are assumed to be JAR files.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "([Ljava/net/URL;Ljava/lang/ClassLoader;Ljava/net/URLStreamHandlerFactory;)V", AccessFlags = 1)]
- public URLClassLoader(global::Java.Net.URL[] searchUrls, global::Java.Lang.ClassLoader parent, global::Java.Net.IURLStreamHandlerFactory factory) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Adds the specified URL to the search list.</para><para></para>
- /// </summary>
- /// <java-name>
- /// addURL
- /// </java-name>
- [Dot42.DexImport("addURL", "(Ljava/net/URL;)V", AccessFlags = 4)]
- protected internal virtual void AddURL(global::Java.Net.URL url) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns all known URLs which point to the specified resource.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the enumeration of URLs which point to the specified resource. </para>
- /// </returns>
- /// <java-name>
- /// findResources
- /// </java-name>
- [Dot42.DexImport("findResources", "(Ljava/lang/String;)Ljava/util/Enumeration;", AccessFlags = 1, Signature = "(Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;")]
- public new virtual global::Java.Util.IEnumeration<global::Java.Net.URL> FindResources(string name) /* MethodBuilder.Create */
- {
- return default(global::Java.Util.IEnumeration<global::Java.Net.URL>);
- }
- /// <summary>
- /// <para>Gets all permissions for the specified <c> codesource </c> . First, this method retrieves the permissions from the system policy. If the protocol is "file:/" then a new permission, <c> FilePermission </c> , granting the read permission to the file is added to the permission collection. Otherwise, connecting to and accepting connections from the URL is granted.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the list of permissions according to the code source object. </para>
- /// </returns>
- /// <java-name>
- /// getPermissions
- /// </java-name>
- [Dot42.DexImport("getPermissions", "(Ljava/security/CodeSource;)Ljava/security/PermissionCollection;", AccessFlags = 4)]
- protected internal override global::Java.Security.PermissionCollection GetPermissions(global::Java.Security.CodeSource codesource) /* MethodBuilder.Create */
- {
- return default(global::Java.Security.PermissionCollection);
- }
- /// <summary>
- /// <para>Returns the search list of this <c> URLClassLoader </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the list of all known URLs of this instance. </para>
- /// </returns>
- /// <java-name>
- /// getURLs
- /// </java-name>
- [Dot42.DexImport("getURLs", "()[Ljava/net/URL;", AccessFlags = 1)]
- public virtual global::Java.Net.URL[] GetURLs() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.URL[]);
- }
- /// <summary>
- /// <para>Returns a new <c> URLClassLoader </c> instance for the given URLs and the system <c> ClassLoader </c> as its parent.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the created <c> URLClassLoader </c> instance. </para>
- /// </returns>
- /// <java-name>
- /// newInstance
- /// </java-name>
- [Dot42.DexImport("newInstance", "([Ljava/net/URL;)Ljava/net/URLClassLoader;", AccessFlags = 9)]
- public static global::Java.Net.URLClassLoader NewInstance(global::Java.Net.URL[] urls) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.URLClassLoader);
- }
- /// <summary>
- /// <para>Returns a new <c> URLClassLoader </c> instance for the given URLs and the specified <c> ClassLoader </c> as its parent.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the created <c> URLClassLoader </c> instance. </para>
- /// </returns>
- /// <java-name>
- /// newInstance
- /// </java-name>
- [Dot42.DexImport("newInstance", "([Ljava/net/URL;Ljava/lang/ClassLoader;)Ljava/net/URLClassLoader;", AccessFlags = 9)]
- public static global::Java.Net.URLClassLoader NewInstance(global::Java.Net.URL[] urls, global::Java.Lang.ClassLoader parentCl) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.URLClassLoader);
- }
- /// <summary>
- /// <para>Tries to locate and load the specified class using the known URLs. If the class could be found, a class object representing the loaded class will be returned.</para><para></para>
- /// </summary>
- /// <java-name>
- /// findClass
- /// </java-name>
- [Dot42.DexImport("findClass", "(Ljava/lang/String;)Ljava/lang/Class;", AccessFlags = 4, Signature = "(Ljava/lang/String;)Ljava/lang/Class<*>;")]
- protected internal override global::System.Type FindClass(string className) /* MethodBuilder.Create */
- {
- return default(global::System.Type);
- }
- /// <summary>
- /// <para>Returns an URL referencing the specified resource or <c> null </c> if the resource could not be found.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the URL which points to the given resource. </para>
- /// </returns>
- /// <java-name>
- /// findResource
- /// </java-name>
- [Dot42.DexImport("findResource", "(Ljava/lang/String;)Ljava/net/URL;", AccessFlags = 1)]
- public new virtual global::Java.Net.URL FindResource(string name) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.URL);
- }
- /// <summary>
- /// <para>Defines a new package using the information extracted from the specified manifest.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the created package. </para>
- /// </returns>
- /// <java-name>
- /// definePackage
- /// </java-name>
- [Dot42.DexImport("definePackage", "(Ljava/lang/String;Ljava/util/jar/Manifest;Ljava/net/URL;)Ljava/lang/Package;", AccessFlags = 4)]
- protected internal virtual global::Java.Lang.Package DefinePackage(string packageName, global::Java.Util.Jar.Manifest manifest, global::Java.Net.URL url) /* MethodBuilder.Create */
- {
- return default(global::Java.Lang.Package);
- }
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- internal URLClassLoader() /* TypeBuilder.AddDefaultConstructor */
- {
- }
- /// <summary>
- /// <para>Returns the search list of this <c> URLClassLoader </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the list of all known URLs of this instance. </para>
- /// </returns>
- /// <java-name>
- /// getURLs
- /// </java-name>
- public global::Java.Net.URL[] URLs
- {
- [Dot42.DexImport("getURLs", "()[Ljava/net/URL;", AccessFlags = 1)]
- get{ return GetURLs(); }
- }
- }
- /// <summary>
- /// <para>This exception is thrown when a timeout expired on a socket <c> read </c> or <c> accept </c> operation. </para>
- /// </summary>
- /// <java-name>
- /// java/net/SocketTimeoutException
- /// </java-name>
- [Dot42.DexImport("java/net/SocketTimeoutException", AccessFlags = 33)]
- public partial class SocketTimeoutException : global::Java.Io.InterruptedIOException
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Constructs a new instance. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public SocketTimeoutException() /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "(Ljava/lang/String;)V", AccessFlags = 1)]
- public SocketTimeoutException(string @string) /* MethodBuilder.Create */
- {
- }
- }
- /// <summary>
- /// <para>This class converts the content of a certain format (i.e. a MIME type) into a Java type object. It is created by <c> ContentHandlerFactory </c> . The data values should be accessed via <c> URL </c> or <c> URLConnection </c> .</para><para><para>ContentHandlerFactory </para><simplesectsep></simplesectsep><para>URL::getContent() </para><simplesectsep></simplesectsep><para>URLConnection::getContent() </para></para>
- /// </summary>
- /// <java-name>
- /// java/net/ContentHandler
- /// </java-name>
- [Dot42.DexImport("java/net/ContentHandler", AccessFlags = 1057)]
- public abstract partial class ContentHandler
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public ContentHandler() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the object pointed by the specified URL connection <c> uConn </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>object referred by <c> uConn </c> . </para>
- /// </returns>
- /// <java-name>
- /// getContent
- /// </java-name>
- [Dot42.DexImport("getContent", "(Ljava/net/URLConnection;)Ljava/lang/Object;", AccessFlags = 1025)]
- public abstract object GetContent(global::Java.Net.URLConnection uConn) /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns the object pointed by the specified URL connection <c> uConn </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>resource object pointed by this URL or <c> null </c> if the content doesn't match one of the specified content types. </para>
- /// </returns>
- /// <java-name>
- /// getContent
- /// </java-name>
- [Dot42.DexImport("getContent", "(Ljava/net/URLConnection;[Ljava/lang/Class;)Ljava/lang/Object;", AccessFlags = 1)]
- public virtual object GetContent(global::Java.Net.URLConnection uConn, global::System.Type[] types) /* MethodBuilder.Create */
- {
- return default(object);
- }
- }
- /// <summary>
- /// <para>A <c> BindException </c> is thrown when a process cannot bind a local address/port, either because it is already bound or reserved by the OS.</para><para>Most applications <b>should not</b> catch this exception; it is more robust to catch the superclass <c> SocketException </c> . </para>
- /// </summary>
- /// <java-name>
- /// java/net/BindException
- /// </java-name>
- [Dot42.DexImport("java/net/BindException", AccessFlags = 33)]
- public partial class BindException : global::Java.Net.SocketException
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Constructs a new instance. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public BindException() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Constructs a new instance with the given detail message. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/lang/String;)V", AccessFlags = 1)]
- public BindException(string detailMessage) /* MethodBuilder.Create */
- {
- }
- }
- /// <summary>
- /// <para>An implementation of this class is able to obtain authentication information for a connection in several ways. For this purpose it has to set the default authenticator which extends <c> Authenticator </c> by <c> setDefault(Authenticator a) </c> . Then it should override <c> getPasswordAuthentication() </c> which dictates how the authentication info is obtained. Usually, it prompts the user for the required input.</para><para><para>setDefault </para><simplesectsep></simplesectsep><para>getPasswordAuthentication </para></para>
- /// </summary>
- /// <java-name>
- /// java/net/Authenticator
- /// </java-name>
- [Dot42.DexImport("java/net/Authenticator", AccessFlags = 1057)]
- public abstract partial class Authenticator
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public Authenticator() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the collected username and password for authorization. The subclass has to override this method to return a value different to the default which is <c> null </c> . </para><para>Returns <c> null </c> by default.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>collected password authentication data. </para>
- /// </returns>
- /// <java-name>
- /// getPasswordAuthentication
- /// </java-name>
- [Dot42.DexImport("getPasswordAuthentication", "()Ljava/net/PasswordAuthentication;", AccessFlags = 4)]
- protected internal virtual global::Java.Net.PasswordAuthentication GetPasswordAuthentication() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.PasswordAuthentication);
- }
- /// <summary>
- /// <para>Returns the port of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>port of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingPort
- /// </java-name>
- [Dot42.DexImport("getRequestingPort", "()I", AccessFlags = 20)]
- protected internal int GetRequestingPort() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Returns the address of the connection that requests authorization or <c> null </c> if unknown.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>address of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingSite
- /// </java-name>
- [Dot42.DexImport("getRequestingSite", "()Ljava/net/InetAddress;", AccessFlags = 20)]
- protected internal global::Java.Net.InetAddress GetRequestingSite() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.InetAddress);
- }
- /// <summary>
- /// <para>Returns the realm (prompt string) of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>prompt string of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingPrompt
- /// </java-name>
- [Dot42.DexImport("getRequestingPrompt", "()Ljava/lang/String;", AccessFlags = 20)]
- protected internal string GetRequestingPrompt() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the protocol of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>protocol of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingProtocol
- /// </java-name>
- [Dot42.DexImport("getRequestingProtocol", "()Ljava/lang/String;", AccessFlags = 20)]
- protected internal string GetRequestingProtocol() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the scheme of the connection that requests authorization, for example HTTP Basic Authentication.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>scheme of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingScheme
- /// </java-name>
- [Dot42.DexImport("getRequestingScheme", "()Ljava/lang/String;", AccessFlags = 20)]
- protected internal string GetRequestingScheme() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Invokes the methods of the registered authenticator to get the authentication info.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>password authentication info or <c> null </c> if no authenticator exists. </para>
- /// </returns>
- /// <java-name>
- /// requestPasswordAuthentication
- /// </java-name>
- [Dot42.DexImport("requestPasswordAuthentication", "(Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lj" +
- "ava/net/PasswordAuthentication;", AccessFlags = 41)]
- public static global::Java.Net.PasswordAuthentication RequestPasswordAuthentication(global::Java.Net.InetAddress rAddr, int rPort, string rProtocol, string rPrompt, string rScheme) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.PasswordAuthentication);
- }
- /// <summary>
- /// <para>Sets <c> a </c> as the default authenticator. It will be called whenever the realm that the URL is pointing to requires authorization.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setDefault
- /// </java-name>
- [Dot42.DexImport("setDefault", "(Ljava/net/Authenticator;)V", AccessFlags = 9)]
- public static void SetDefault(global::Java.Net.Authenticator a) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Invokes the methods of the registered authenticator to get the authentication info.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>password authentication info or <c> null </c> if no authenticator exists. </para>
- /// </returns>
- /// <java-name>
- /// requestPasswordAuthentication
- /// </java-name>
- [Dot42.DexImport("requestPasswordAuthentication", "(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Lja" +
- "va/lang/String;)Ljava/net/PasswordAuthentication;", AccessFlags = 41)]
- public static global::Java.Net.PasswordAuthentication RequestPasswordAuthentication(string rHost, global::Java.Net.InetAddress rAddr, int rPort, string rProtocol, string rPrompt, string rScheme) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.PasswordAuthentication);
- }
- /// <summary>
- /// <para>Returns the host name of the connection that requests authentication or <c> null </c> if unknown.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>name of the requesting host or <c> null </c> . </para>
- /// </returns>
- /// <java-name>
- /// getRequestingHost
- /// </java-name>
- [Dot42.DexImport("getRequestingHost", "()Ljava/lang/String;", AccessFlags = 20)]
- protected internal string GetRequestingHost() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Invokes the methods of the registered authenticator to get the authentication info.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>password authentication info or <c> null </c> if no authenticator exists. </para>
- /// </returns>
- /// <java-name>
- /// requestPasswordAuthentication
- /// </java-name>
- [Dot42.DexImport("requestPasswordAuthentication", "(Ljava/lang/String;Ljava/net/InetAddress;ILjava/lang/String;Ljava/lang/String;Lja" +
- "va/lang/String;Ljava/net/URL;Ljava/net/Authenticator$RequestorType;)Ljava/net/Pa" +
- "sswordAuthentication;", AccessFlags = 9)]
- public static global::Java.Net.PasswordAuthentication RequestPasswordAuthentication(string rHost, global::Java.Net.InetAddress rAddr, int rPort, string rProtocol, string rPrompt, string rScheme, global::Java.Net.URL rURL, global::Java.Net.Authenticator.RequestorType reqType) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.PasswordAuthentication);
- }
- /// <summary>
- /// <para>Returns the URL of the authentication request.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>authentication request url. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingURL
- /// </java-name>
- [Dot42.DexImport("getRequestingURL", "()Ljava/net/URL;", AccessFlags = 4)]
- protected internal virtual global::Java.Net.URL GetRequestingURL() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.URL);
- }
- /// <summary>
- /// <para>Returns the type of this request, it can be <c> PROXY </c> or <c> SERVER </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>RequestorType of the authentication request. </para>
- /// </returns>
- /// <java-name>
- /// getRequestorType
- /// </java-name>
- [Dot42.DexImport("getRequestorType", "()Ljava/net/Authenticator$RequestorType;", AccessFlags = 4)]
- protected internal virtual global::Java.Net.Authenticator.RequestorType GetRequestorType() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.Authenticator.RequestorType);
- }
- /// <summary>
- /// <para>Returns the collected username and password for authorization. The subclass has to override this method to return a value different to the default which is <c> null </c> . </para><para>Returns <c> null </c> by default.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>collected password authentication data. </para>
- /// </returns>
- /// <java-name>
- /// getPasswordAuthentication
- /// </java-name>
- protected internal global::Java.Net.PasswordAuthentication PasswordAuthentication
- {
- [Dot42.DexImport("getPasswordAuthentication", "()Ljava/net/PasswordAuthentication;", AccessFlags = 4)]
- get{ return GetPasswordAuthentication(); }
- }
- /// <summary>
- /// <para>Returns the port of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>port of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingPort
- /// </java-name>
- protected internal int RequestingPort
- {
- [Dot42.DexImport("getRequestingPort", "()I", AccessFlags = 20)]
- get{ return GetRequestingPort(); }
- }
- /// <summary>
- /// <para>Returns the address of the connection that requests authorization or <c> null </c> if unknown.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>address of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequestingSite
- /// </java-name>
- protected internal global::Java.Net.InetAddress RequestingSite
- {
- [Dot42.DexImport("getRequestingSite", "()Ljava/net/InetAddress;", AccessFlags = 20)]
- get{ return GetRequestingSite(); }
- }
- /// <summary>
- /// <para>Returns the realm (prompt string) of the connection that requests authorization.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>prompt string of the connection. </para>
- /// </returns>
- /// <java-name>
- /// getRequesting