final class AboutURLConnection
extends java.net.URLConnection
Modifier and Type | Class and Description |
---|---|
private static class |
AboutURLConnection.AboutRecord |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
DEFAULT_CHARSET |
private static java.lang.String |
DEFAULT_MIMETYPE |
private AboutURLConnection.AboutRecord |
record |
Constructor and Description |
---|
AboutURLConnection(java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
java.lang.String |
getContentEncoding() |
int |
getContentLength() |
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentLengthLong, 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
private static final java.lang.String DEFAULT_CHARSET
private static final java.lang.String DEFAULT_MIMETYPE
private final AboutURLConnection.AboutRecord record
public void connect() throws java.io.IOException
connect
in class java.net.URLConnection
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.URLConnection
java.io.IOException
public java.lang.String getContentType()
getContentType
in class java.net.URLConnection
public java.lang.String getContentEncoding()
getContentEncoding
in class java.net.URLConnection
public int getContentLength()
getContentLength
in class java.net.URLConnection