public abstract class AbstractURLConnection extends URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Modifier | Constructor and Description |
|---|---|
protected |
AbstractURLConnection(URL url) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
String |
getHeaderField(String name) |
protected abstract String |
getName() |
protected static URI |
toURI(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, toStringprotected AbstractURLConnection(URL url)
public String getHeaderField(String name)
getHeaderField in class URLConnectionpublic String getContentType()
getContentType in class URLConnectionprotected static URI toURI(URL url) throws IOException
IOExceptionprotected abstract String getName()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.