Package net.minecraftforge.fml.loading
Class ModJarURLHandler.ModJarURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- net.minecraftforge.fml.loading.ModJarURLHandler.ModJarURLConnection
-
- Enclosing class:
- ModJarURLHandler
static class ModJarURLHandler.ModJarURLConnection extends java.net.URLConnection
-
-
Constructor Summary
Constructors Constructor Description ModJarURLConnection(java.net.URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
long
getContentLengthLong()
java.io.InputStream
getInputStream()
java.util.Optional<java.util.jar.Manifest>
getManifest()
java.net.URL
getURL()
-
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
-
-
-
Method Detail
-
connect
public void connect()
- Specified by:
connect
in classjava.net.URLConnection
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Overrides:
getInputStream
in classjava.net.URLConnection
- Throws:
java.io.IOException
-
getContentLengthLong
public long getContentLengthLong()
- Overrides:
getContentLengthLong
in classjava.net.URLConnection
-
getURL
public java.net.URL getURL()
- Overrides:
getURL
in classjava.net.URLConnection
-
getManifest
public java.util.Optional<java.util.jar.Manifest> getManifest()
-
-