public class JavaScriptURLConnection extends URLConnection
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVASCRIPT_PREFIX
The JavaScript "URL" prefix.
|
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description |
|---|
JavaScriptURLConnection(URL newUrl)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect()
This method does nothing in this implementation but is required to be implemented.
|
InputStream |
getInputStream()
Returns the input stream - in this case the content of the URL.
|
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, 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, toStringpublic static final String JAVASCRIPT_PREFIX
public JavaScriptURLConnection(URL newUrl)
newUrl - the JavaScript URLpublic void connect()
connect in class URLConnectionpublic InputStream getInputStream()
getInputStream in class URLConnectionCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.