com.gargoylesoftware.htmlunit.protocol.javascript
Class JavaScriptURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by com.gargoylesoftware.htmlunit.protocol.javascript.JavaScriptURLConnection

public class JavaScriptURLConnection
extends java.net.URLConnection

A URLConnection for supporting javascript urls

Version:
$Revision: 1.3 $
Author:
Mike Bowler

Constructor Summary
JavaScriptURLConnection(java.net.URL newUrl)
 Create an instance
 
Method Summary
 void connect()
 This method does nothing in this implementation but is required to be implemented.
 java.io.InputStream getInputStream()
 Return the input stream - in this case the content of the url
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaScriptURLConnection

public JavaScriptURLConnection(java.net.URL newUrl)
Create 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 java.net.URLConnection

getInputStream

public java.io.InputStream getInputStream()
Return the input stream - in this case the content of the url

Overrides:
getInputStream in class java.net.URLConnection
Returns:
The input stream


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.