Class NestedJarHandler.CloseableUrlConnection

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Enclosing class:
    NestedJarHandler

    private static class NestedJarHandler.CloseableUrlConnection
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.net.URLConnection conn  
      java.net.HttpURLConnection httpConn  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • conn

        public final java.net.URLConnection conn
      • httpConn

        public final java.net.HttpURLConnection httpConn
    • Constructor Detail

      • CloseableUrlConnection

        public CloseableUrlConnection​(java.net.URL url)
                               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable