Class Handler

java.lang.Object
java.net.URLStreamHandler
com.kazurayam.materialstore.core.data.Handler

public final class Handler extends URLStreamHandler
This class is used by com.kazurayam.materialstore.filesystem.metadata.MetadataImpl class to support "data:" URL
  • Constructor Details

    • Handler

      public Handler()
  • Method Details

    • openConnection

      protected URLConnection openConnection(URL u) throws IOException
      we need to implment openConnection() method here in order to make this Handler class instanciate-able. But we will not use URL.openConnection() for data: URL in Katalon Studio. We only use URL.toString() method for data: URL.
      Specified by:
      openConnection in class URLStreamHandler
      Throws:
      IOException