public class BootURLConnection extends JarURLConnection
jarFileURLConnectionallowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description |
|---|
BootURLConnection(JarURLConnection jarURLConnection,
DecryptorProvider decryptorProvider,
EncryptorProvider encryptorProvider,
Key key) |
public BootURLConnection(JarURLConnection jarURLConnection, DecryptorProvider decryptorProvider, EncryptorProvider encryptorProvider, Key key) throws MalformedURLException
MalformedURLExceptionpublic void connect()
throws IOException
connect in class URLConnectionIOExceptionpublic int getConnectTimeout()
getConnectTimeout in class URLConnectionpublic void setConnectTimeout(int timeout)
setConnectTimeout in class URLConnectionpublic int getReadTimeout()
getReadTimeout in class URLConnectionpublic void setReadTimeout(int timeout)
setReadTimeout in class URLConnectionpublic URL getURL()
getURL in class URLConnectionpublic int getContentLength()
getContentLength in class URLConnectionpublic long getContentLengthLong()
getContentLengthLong in class URLConnectionpublic String getContentType()
getContentType in class URLConnectionpublic String getContentEncoding()
getContentEncoding in class URLConnectionpublic long getExpiration()
getExpiration in class URLConnectionpublic long getDate()
getDate in class URLConnectionpublic long getLastModified()
getLastModified in class URLConnectionpublic String getHeaderField(String name)
getHeaderField in class URLConnectionpublic Map<String,List<String>> getHeaderFields()
getHeaderFields in class URLConnectionpublic int getHeaderFieldInt(String name, int Default)
getHeaderFieldInt in class URLConnectionpublic long getHeaderFieldLong(String name, long Default)
getHeaderFieldLong in class URLConnectionpublic long getHeaderFieldDate(String name, long Default)
getHeaderFieldDate in class URLConnectionpublic String getHeaderFieldKey(int n)
getHeaderFieldKey in class URLConnectionpublic String getHeaderField(int n)
getHeaderField in class URLConnectionpublic Object getContent() throws IOException
getContent in class URLConnectionIOExceptionpublic Object getContent(Class[] classes) throws IOException
getContent in class URLConnectionIOExceptionpublic Permission getPermission() throws IOException
getPermission in class URLConnectionIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in class URLConnectionIOExceptionpublic String toString()
toString in class URLConnectionpublic boolean getDoInput()
getDoInput in class URLConnectionpublic void setDoInput(boolean doInput)
setDoInput in class URLConnectionpublic boolean getDoOutput()
getDoOutput in class URLConnectionpublic void setDoOutput(boolean doOutput)
setDoOutput in class URLConnectionpublic boolean getAllowUserInteraction()
getAllowUserInteraction in class URLConnectionpublic void setAllowUserInteraction(boolean allowUserInteraction)
setAllowUserInteraction in class URLConnectionpublic boolean getUseCaches()
getUseCaches in class URLConnectionpublic void setUseCaches(boolean useCaches)
setUseCaches in class URLConnectionpublic long getIfModifiedSince()
getIfModifiedSince in class URLConnectionpublic void setIfModifiedSince(long ifModifiedSince)
setIfModifiedSince in class URLConnectionpublic boolean getDefaultUseCaches()
getDefaultUseCaches in class URLConnectionpublic void setDefaultUseCaches(boolean defaultUseCaches)
setDefaultUseCaches in class URLConnectionpublic void setRequestProperty(String key, String value)
setRequestProperty in class URLConnectionpublic void addRequestProperty(String key, String value)
addRequestProperty in class URLConnectionpublic String getRequestProperty(String key)
getRequestProperty in class URLConnectionpublic Map<String,List<String>> getRequestProperties()
getRequestProperties in class URLConnectionpublic URL getJarFileURL()
getJarFileURL in class JarURLConnectionpublic String getEntryName()
getEntryName in class JarURLConnectionpublic JarFile getJarFile() throws IOException
getJarFile in class JarURLConnectionIOExceptionpublic Manifest getManifest() throws IOException
getManifest in class JarURLConnectionIOExceptionpublic JarEntry getJarEntry() throws IOException
getJarEntry in class JarURLConnectionIOExceptionpublic Attributes getAttributes() throws IOException
getAttributes in class JarURLConnectionIOExceptionpublic Attributes getMainAttributes() throws IOException
getMainAttributes in class JarURLConnectionIOExceptionpublic Certificate[] getCertificates() throws IOException
getCertificates in class JarURLConnectionIOExceptionCopyright © 2021. All rights reserved.