uk.ac.starlink.astrogrid.protocols.ivo
Class IvoURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by uk.ac.starlink.astrogrid.protocols.ivo.IvoURLConnection

public class IvoURLConnection
extends URLConnection

URL connection used for MySpace I/O using the ACR.

Since:
25 Aug 2006
Author:
Mark Taylor

Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
IvoURLConnection(AcrConnection aconn, URL url)
          Constructor.
 
Method Summary
 void connect()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getLastModified, 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
 

Constructor Detail

IvoURLConnection

public IvoURLConnection(AcrConnection aconn,
                        URL url)
Constructor.

Parameters:
aconn - live connection to an ACR server
url - ivo:-type URL as used by ACR MySpace communication locating the resource
Method Detail

connect

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

getInputStream

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

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Overrides:
getOutputStream in class URLConnection
Throws:
IOException


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.