java.lang.Object
java.net.URLConnection
org.eclipse.osgi.framework.internal.protocol.reference.ReferenceURLConnection
- public class ReferenceURLConnection
- extends java.net.URLConnection
URLConnection for the reference protocol.
|
Method Summary |
void |
connect()
Establishes the actual connection to the URL associated with this
connection object |
boolean |
getDoInput()
Returns the value of a flag indicating whether or not input is going
to be done for this connection. |
boolean |
getDoOutput()
Returns a boolean flag indicating whether or not output will be done
on this connection. |
java.io.InputStream |
getInputStream()
Returns an InputStream for this connection. |
| Methods inherited from class java.net.URLConnection |
addRequestProperty, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches, toString |
reference
protected java.net.URL reference
ReferenceURLConnection
protected ReferenceURLConnection(java.net.URL url)
connect
public void connect()
throws java.io.IOException
- Description copied from class:
java.net.URLConnection
- Establishes the actual connection to the URL associated with this
connection object
getDoInput
public boolean getDoInput()
- Description copied from class:
java.net.URLConnection
- Returns the value of a flag indicating whether or not input is going
to be done for this connection. This default to true unless the
doOutput flag is set to false, in which case this defaults to false.
getDoOutput
public boolean getDoOutput()
- Description copied from class:
java.net.URLConnection
- Returns a boolean flag indicating whether or not output will be done
on this connection. This defaults to false.
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Description copied from class:
java.net.URLConnection
- Returns an InputStream for this connection. As this default
implementation returns null, subclasses should override this method