public abstract class PlatformURLConnection
extends java.net.URLConnection
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
static boolean |
DEBUG_CACHE_COPY |
static boolean |
DEBUG_CACHE_LOOKUP |
static boolean |
DEBUG_CONNECT |
| Modifier | Constructor and Description |
|---|---|
protected |
PlatformURLConnection(java.net.URL url) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowCaching() |
void |
connect() |
protected void |
debug(java.lang.String s) |
protected static java.lang.String |
getId(java.lang.String spec) |
java.io.InputStream |
getInputStream() |
java.net.URL |
getResolvedURL() |
java.net.URL |
getURLAsLocal() |
protected static java.lang.String |
getVersion(java.lang.String spec) |
protected java.net.URL |
resolve() |
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 boolean DEBUG
public static final boolean DEBUG_CONNECT
public static final boolean DEBUG_CACHE_LOOKUP
public static final boolean DEBUG_CACHE_COPY
protected boolean allowCaching()
public void connect()
throws java.io.IOException
connect in class java.net.URLConnectionjava.io.IOExceptionprotected void debug(java.lang.String s)
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOExceptionpublic java.net.URL getResolvedURL()
public java.net.URL getURLAsLocal()
throws java.io.IOException
java.io.IOExceptionprotected java.net.URL resolve()
throws java.io.IOException
java.io.IOExceptionprotected static java.lang.String getId(java.lang.String spec)
protected static java.lang.String getVersion(java.lang.String spec)