public abstract class SMPConnection extends URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description |
|---|
SMPConnection(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
abstract InputStream |
getInputStream() |
abstract URLConnection |
init(URL url) |
protected abstract InputStream |
storageClient(String url) |
addRequestProperty, 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 SMPConnection(URL url)
public abstract URLConnection init(URL url)
public void connect()
throws IOException
connect in class URLConnectionIOExceptionpublic abstract InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionprotected abstract InputStream storageClient(String url) throws Exception
ExceptionCopyright © 2016. All Rights Reserved.