public class ReferenceURLConnection extends URLConnection
| Modifier and Type | Field and Description |
|---|---|
protected URL |
reference |
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Modifier | Constructor and Description |
|---|---|
protected |
ReferenceURLConnection(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
boolean |
getDoInput() |
boolean |
getDoOutput() |
InputStream |
getInputStream() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, 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, toStringprotected URL reference
protected ReferenceURLConnection(URL url)
public void connect()
throws IOException
connect in class URLConnectionIOExceptionpublic boolean getDoInput()
getDoInput in class URLConnectionpublic boolean getDoOutput()
getDoOutput in class URLConnectionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.