public class GroovyURLConnection
extends java.net.URLConnection
Constructor and Description |
---|
GroovyURLConnection(java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
java.lang.String |
getContentEncoding() |
int |
getContentLength() |
java.io.InputStream |
getInputStream() |
long |
getLastModified() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, 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
public void connect() throws java.io.IOException
connect
in class java.net.URLConnection
java.io.IOException
public int getContentLength()
getContentLength
in class java.net.URLConnection
public java.lang.String getContentEncoding()
getContentEncoding
in class java.net.URLConnection
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.URLConnection
java.io.IOException
public long getLastModified()
getLastModified
in class java.net.URLConnection