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, toString
public static final String JAVASCRIPT_PREFIX
public JavaScriptURLConnection(URL newUrl)
newUrl
- the JavaScript URLpublic void connect()
connect
in class URLConnection
public InputStream getInputStream()
getInputStream
in class URLConnection
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.