Class WarURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- org.apache.catalina.webresources.war.WarURLConnection
-
public class WarURLConnection extends URLConnection
-
-
Field Summary
-
Fields inherited from class java.net.URLConnection
allowUserInteraction, doInput, doOutput, ifModifiedSince, url, useCaches
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWarURLConnection(URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect()intgetContentLength()longgetContentLengthLong()InputStreamgetInputStream()longgetLastModified()PermissiongetPermission()-
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, 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, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
-
-
-
Constructor Detail
-
WarURLConnection
protected WarURLConnection(URL url) throws IOException
- Throws:
IOException
-
-
Method Detail
-
connect
public void connect() throws IOException- Specified by:
connectin classURLConnection- Throws:
IOException
-
getInputStream
public InputStream getInputStream() throws IOException
- Overrides:
getInputStreamin classURLConnection- Throws:
IOException
-
getPermission
public Permission getPermission() throws IOException
- Overrides:
getPermissionin classURLConnection- Throws:
IOException
-
getLastModified
public long getLastModified()
- Overrides:
getLastModifiedin classURLConnection
-
getContentLength
public int getContentLength()
- Overrides:
getContentLengthin classURLConnection
-
getContentLengthLong
public long getContentLengthLong()
- Overrides:
getContentLengthLongin classURLConnection
-
-