org.gcube.contentmanager.storageclient.model.protocol.smp
Class SMPURLConnection
java.lang.Object
java.net.URLConnection
org.gcube.contentmanager.storageclient.model.protocol.smp.SMPURLConnection
public class SMPURLConnection
- extends URLConnection
This is invoked by the platform with a URL of the right protocol.
- Author:
- Fabio Simeoni (University of Strathclyde)
| 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, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString |
SMPURLConnection
public SMPURLConnection(URL url)
- Constructs a new instance for a given
sm URL.
- Parameters:
url - the URL.
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
Copyright © 2012. All Rights Reserved.