public abstract class AbstractURLConnection
extends java.net.URLConnection
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
contentType |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractURLConnection(java.net.URL url) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType() |
java.lang.String |
getHeaderField(java.lang.String name) |
protected abstract java.lang.String |
getName() |
protected static java.net.URI |
toURI(java.net.URL url) |
addRequestProperty, connect, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringpublic java.lang.String getHeaderField(java.lang.String name)
getHeaderField in class java.net.URLConnectionpublic java.lang.String getContentType()
getContentType in class java.net.URLConnectionprotected static java.net.URI toURI(java.net.URL url)
throws java.io.IOException
java.io.IOExceptionprotected abstract java.lang.String getName()