JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.protocol.javascript

Class JavaScriptURLConnection



  • public class JavaScriptURLConnection
    extends URLConnection 
    A URLConnection for supporting JavaScript URLs.
    Author:
    Mike Bowler
    • Field Detail

    • Constructor Detail

      • JavaScriptURLConnection

        public JavaScriptURLConnection(URL newUrl)
        Creates an instance.
        Parameters:
        newUrl - the JavaScript URL
    • Method Detail

      • connect

        public void connect()
        This method does nothing in this implementation but is required to be implemented.
        Specified by:
        connect in class URLConnection
      • getInputStream

        public InputStream getInputStream()
        Returns the input stream - in this case the content of the URL.
        Overrides:
        getInputStream in class URLConnection
        Returns:
        the input stream
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /