public class WarURLConnection extends URLConnection
allowUserInteraction, doInput, doOutput, ifModifiedSince, url, useCaches| Modifier | Constructor and Description |
|---|---|
protected |
WarURLConnection(URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
int |
getContentLength() |
long |
getContentLengthLong() |
InputStream |
getInputStream() |
long |
getLastModified() |
Permission |
getPermission() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringprotected WarURLConnection(URL url) throws IOException
IOExceptionpublic void connect()
throws IOException
connect in class URLConnectionIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in class URLConnectionIOExceptionpublic Permission getPermission() throws IOException
getPermission in class URLConnectionIOExceptionpublic long getLastModified()
getLastModified in class URLConnectionpublic int getContentLength()
getContentLength in class URLConnectionpublic long getContentLengthLong()
getContentLengthLong in class URLConnectionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.