Java java.net JarURLConnection fields, constructors, methods, implement or subclass

Example usage for Java java.net JarURLConnection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.net JarURLConnection.

The text is from its open source code.

Method

voidconnect()
Opens a communications link to the resource referenced by this URL, if such a connection has not already been established.
AttributesgetAttributes()
Return the Attributes object for this connection if the URL for it points to a JAR file entry, null otherwise.
java.security.cert.Certificate[]getCertificates()
Returns the Certificate objects for this connection if the URL for it points to a JAR file entry, null otherwise.
intgetContentLength()
Returns the value of the content-length header field.
StringgetEntryName()
Return the entry name for this connection.
InputStreamgetInputStream()
Returns an input stream that reads from this open connection.
JarEntrygetJarEntry()
Return the JAR entry object for this connection, if any.
JarFilegetJarFile()
Return the JAR file for this connection.
URLgetJarFileURL()
Returns the URL for the Jar file for this connection.
AttributesgetMainAttributes()
Returns the main Attributes for the JAR file for this connection.
ManifestgetManifest()
Returns the Manifest for this connection, or null if none.
booleangetUseCaches()
Returns the value of this URLConnection 's useCaches field.
voidsetUseCaches(boolean usecaches)
Sets the value of the useCaches field of this URLConnection to the specified value.