Class ParseUrlWrapper


  • public class ParseUrlWrapper
    extends java.lang.Object
    A wrapper to support parsing of urls.
    • Constructor Summary

      Constructors 
      Constructor Description
      ParseUrlWrapper​(com.dkfqs.measuringagent.javascript.JavaScriptRhinoTestJobExecutorContext testJobExecutorContext, com.dkfqs.measuringagent.javascript.executor.ExecutorConsoleLog executorConsoleLog)
      Create a new instance of this wrapper.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ParseURL newInstance​(java.lang.String url)
      Create a new instance of an URL parser.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParseUrlWrapper

        public ParseUrlWrapper​(com.dkfqs.measuringagent.javascript.JavaScriptRhinoTestJobExecutorContext testJobExecutorContext,
                               com.dkfqs.measuringagent.javascript.executor.ExecutorConsoleLog executorConsoleLog)
        Create a new instance of this wrapper.
        Parameters:
        testJobExecutorContext - the test job executor context
        executorConsoleLog - the console log
    • Method Detail

      • newInstance

        public ParseURL newInstance​(java.lang.String url)
                             throws java.net.MalformedURLException
        Create a new instance of an URL parser.
        Parameters:
        url - the URL to parse
        Returns:
        the new instance of an URL parser
        Throws:
        java.net.MalformedURLException - if the URL is malformed