public class SMPURLConnectionById extends SMPConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description |
|---|
SMPURLConnectionById(URL url)
Constructs a new instance for a given
sm URL. |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
internal handler implementation
|
SMPConnection |
init(URL url) |
protected InputStream |
storageClient(String url)
Get a StorageManager instance from 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 SMPConnection init(URL url)
init in class SMPConnectionpublic InputStream getInputStream() throws IOException
getInputStream in class SMPConnectionIOExceptionprotected InputStream storageClient(String url) throws Exception
storageClient in class SMPConnectionExceptionCopyright © 2020. All Rights Reserved.