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 voidconnect()longgetContentLengthLong()java.io.InputStreamgetInputStream()java.util.Optional<java.util.jar.Manifest>getManifest()java.net.URLgetURL()-
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:
connectin classjava.net.URLConnection
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException- Overrides:
getInputStreamin classjava.net.URLConnection- Throws:
java.io.IOException
-
getContentLengthLong
public long getContentLengthLong()
- Overrides:
getContentLengthLongin classjava.net.URLConnection
-
getURL
public java.net.URL getURL()
- Overrides:
getURLin classjava.net.URLConnection
-
getManifest
public java.util.Optional<java.util.jar.Manifest> getManifest()
-
-