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, toString
protected WarURLConnection(URL url) throws IOException
IOException
public void connect() throws IOException
connect
in class URLConnection
IOException
public InputStream getInputStream() throws IOException
getInputStream
in class URLConnection
IOException
public Permission getPermission() throws IOException
getPermission
in class URLConnection
IOException
public long getLastModified()
getLastModified
in class URLConnection
public int getContentLength()
getContentLength
in class URLConnection
public long getContentLengthLong()
getContentLengthLong
in class URLConnection
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.