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, toString
protected Connection(URL url)
public void connect()
connect
in class URLConnection
public long getLastModified()
getLastModified
in class URLConnection
public InputStream getInputStream() throws IOException
getInputStream
in class URLConnection
IOException
Copyright © 2016 Nuxeo SA. All rights reserved.