public class SMPURLConnectionById
extends org.gcube.contentmanager.storageclient.model.protocol.smp.SMPConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description |
|---|
SMPURLConnectionById() |
SMPURLConnectionById(URL url)
Constructs a new instance for a given
sm URL. |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
external handler implementation
|
URLConnection |
init(URL url) |
protected InputStream |
storageClient(String url) |
connect, retrieveEncryptionPhraseaddRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, 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, toStringpublic SMPURLConnectionById(URL url)
sm URL.url - the URL.public SMPURLConnectionById()
public URLConnection init(URL url)
init in class org.gcube.contentmanager.storageclient.model.protocol.smp.SMPConnectionpublic InputStream getInputStream() throws IOException
getInputStream in class org.gcube.contentmanager.storageclient.model.protocol.smp.SMPConnectionIOExceptionprotected InputStream storageClient(String url) throws Exception
storageClient in class org.gcube.contentmanager.storageclient.model.protocol.smp.SMPConnectionExceptionCopyright © 2018. All Rights Reserved.