public final class Connection extends URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, useCaches| Modifier | Constructor and Description |
|---|---|
protected |
Connection(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
InputStream |
getInputStream() |
long |
getLastModified() |
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, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringprotected Connection(URL url)
public void connect()
connect in class URLConnectionpublic long getLastModified()
getLastModified in class URLConnectionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionCopyright © 2016 Nuxeo SA. All rights reserved.