Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.osgi.framework.internal.protocol.reference
Class ReferenceURLConnection  view ReferenceURLConnection download ReferenceURLConnection.java

java.lang.Object
  extended byjava.net.URLConnection
      extended byorg.eclipse.osgi.framework.internal.protocol.reference.ReferenceURLConnection

public class ReferenceURLConnection
extends java.net.URLConnection

URLConnection for the reference protocol.


Field Summary
protected  java.net.URL reference
           
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
protected ReferenceURLConnection(java.net.URL url)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reference

protected java.net.URL reference
Constructor Detail

ReferenceURLConnection

protected ReferenceURLConnection(java.net.URL url)
Method Detail

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