JarURLConnection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A URL Connection to a Java ARchive (JAR) file or an entry in a JAR file.
[Android.Runtime.Register("java/net/JarURLConnection", DoNotGenerateAcw=true)]
public abstract class JarURLConnection : Java.Net.URLConnection
[<Android.Runtime.Register("java/net/JarURLConnection", DoNotGenerateAcw=true)>]
type JarURLConnection = class
inherit URLConnection
- Inheritance
- Attributes
Remarks
Java documentation for java.net.JarURLConnection.
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.
Constructors
| JarURLConnection(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| JarURLConnection(URL) |
Creates the new JarURLConnection to the specified URL. |
Properties
| AllowUserInteraction |
Returns the value of the |
| Attributes |
Return the Attributes object for this connection if the URL for it points to a JAR file entry, null otherwise. |
| Class |
Returns the runtime class of this |
| Connected |
If |
| ConnectTimeout |
Returns setting for connect timeout. -or- Sets a specified timeout value, in milliseconds, to be used when opening a communications link to the resource referenced by this URLConnection. (Inherited from URLConnection) |
| Content |
Retrieves the contents of this URL connection. (Inherited from URLConnection) |
| ContentEncoding |
Returns the value of the |
| ContentLength |
Returns the value of the |
| ContentLengthLong |
Returns the value of the |
| ContentType |
Returns the value of the |
| Date |
Returns the value of the |
| DefaultUseCaches |
Returns the default value of a |
| DoInput |
Returns the value of this |
| DoOutput |
Returns the value of this |
| EntryName |
Return the entry name for this connection. |
| Expiration |
Returns the value of the |
| Handle |
The handle to the underlying Android instance. (Inherited from Object) |
| HeaderFields |
Returns an unmodifiable Map of the header fields. (Inherited from URLConnection) |
| IfModifiedSince |
Returns the value of this object's |
| InputStream |
Returns an input stream that reads from this open connection. (Inherited from URLConnection) |
| JarEntry |
Return the JAR entry object for this connection, if any. |
| JarFile |
Gets the |
| JarFileURL |
Returns the URL for the Jar file for this connection. |
| JarFileURLConnection |
The connection to the JAR file URL, if the connection has been initiated. |
| JniIdentityHashCode | (Inherited from Object) |
| JniPeerMembers | |
| LastModified |
Returns the value of the |
| MainAttributes |
Returns the main Attributes for the JAR file for this connection. |
| Manifest |
Returns the Manifest for this connection, or null if none. |
| OutputStream |
Returns an output stream that writes to this connection. (Inherited from URLConnection) |
| PeerReference | (Inherited from Object) |
| Permission |
Returns a permission object representing the permission necessary to make the connection represented by this object. (Inherited from URLConnection) |
| ReadTimeout |
Returns setting for read timeout. -or- Sets the read timeout to a specified timeout, in milliseconds. (Inherited from URLConnection) |
| RequestProperties |
Returns an unmodifiable Map of general request properties for this connection. (Inherited from URLConnection) |
| ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
| ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
| Url |
The URL represents the remote object on the World Wide Web to which this connection is opened. (Inherited from URLConnection) |
| URL |
Returns the value of this |
| UseCaches |
Returns the value of this |
Methods
| AddRequestProperty(String, String) |
Adds a general request property specified by a key-value pair. (Inherited from URLConnection) |
| Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
| Connect() |
Opens a communications link to the resource referenced by this URL, if such a connection has not already been established. (Inherited from URLConnection) |
| ConnectAsync() | (Inherited from URLConnection) |
| Dispose() | (Inherited from Object) |
| Dispose(Boolean) | (Inherited from Object) |
| Equals(Object) |
Indicates whether some other object is "equal to" this one. (Inherited from Object) |
| GetCertificates() |
Return the Certificate object for this connection if the URL for it points to a JAR file entry, null otherwise. |
| GetContent(Class[]) |
Retrieves the contents of this URL connection. (Inherited from URLConnection) |
| GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
| GetHeaderField(Int32) |
Returns the value for the |
| GetHeaderField(String) |
Returns the value of the named header field. (Inherited from URLConnection) |
| GetHeaderFieldDate(String, Int64) |
Returns the value of the named field parsed as date. (Inherited from URLConnection) |
| GetHeaderFieldInt(String, Int32) |
Returns the value of the named field parsed as a number. (Inherited from URLConnection) |
| GetHeaderFieldKey(Int32) |
Returns the key for the |
| GetHeaderFieldLong(String, Int64) |
Returns the value of the named field parsed as a number. (Inherited from URLConnection) |
| GetRequestProperty(String) |
Returns the value of the named general request property for this connection. (Inherited from URLConnection) |
| JavaFinalize() |
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
| Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
| NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (Inherited from Object) |
| SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
| SetRequestProperty(String, String) |
Sets the general request property. (Inherited from URLConnection) |
| ToArray<T>() | (Inherited from Object) |
| ToString() |
Returns a string representation of the object. (Inherited from Object) |
| UnregisterFromRuntime() | (Inherited from Object) |
| Wait() |
Causes the current thread to wait until another thread invokes the
|
| Wait(Int64) |
Causes the current thread to wait until either another thread invokes the
|
| Wait(Int64, Int32) |
Causes the current thread to wait until another thread invokes the
|
Explicit Interface Implementations
| IJavaPeerable.Disposed() | (Inherited from Object) |
| IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
| IJavaPeerable.Finalized() | (Inherited from Object) |
| IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
| IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
| IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
| IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
| JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
| JavaCast<TResult>(IJavaObject) | |
| GetJniTypeName(IJavaPeerable) | |