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, toString
protected URL reference
protected ReferenceURLConnection(URL url)
public void connect() throws IOException
connect
in class URLConnection
IOException
public boolean getDoInput()
getDoInput
in class URLConnection
public boolean getDoOutput()
getDoOutput
in class URLConnection
public InputStream getInputStream() throws IOException
getInputStream
in class URLConnection
IOException
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.