org.eclipse.osgi.framework.internal.protocol.reference
Class ReferenceURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by org.eclipse.osgi.framework.internal.protocol.reference.ReferenceURLConnection

public class ReferenceURLConnection
extends URLConnection

URLConnection for the reference protocol.


Field Summary
protected  URL reference
           
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
protected ReferenceURLConnection(URL url)
           
 
Method Summary
 void connect()
           
 boolean getDoInput()
           
 boolean getDoOutput()
           
 InputStream getInputStream()
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

reference

protected URL reference
Constructor Detail

ReferenceURLConnection

protected ReferenceURLConnection(URL url)
Method Detail

connect

public void connect()
             throws IOException
Specified by:
connect in class URLConnection
Throws:
IOException

getDoInput

public boolean getDoInput()
Overrides:
getDoInput in class URLConnection

getDoOutput

public boolean getDoOutput()
Overrides:
getDoOutput in class URLConnection

getInputStream

public InputStream getInputStream()
                           throws IOException
Overrides:
getInputStream in class URLConnection
Throws:
IOException


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.