palio.compiler.groovy
Class GroovyURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by palio.compiler.groovy.GroovyURLConnection

public class GroovyURLConnection
extends java.net.URLConnection

Author:
Szymon Kuklewicz

Constructor Summary
GroovyURLConnection(java.net.URL url)
           
 
Method Summary
 void connect()
           
 java.lang.String getContentEncoding()
           
 int getContentLength()
           
 java.io.InputStream getInputStream()
           
 long getLastModified()
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroovyURLConnection

public GroovyURLConnection(java.net.URL url)
Method Detail

connect

public void connect()
             throws java.io.IOException
Specified by:
connect in class java.net.URLConnection
Throws:
java.io.IOException

getContentLength

public int getContentLength()
Overrides:
getContentLength in class java.net.URLConnection

getContentEncoding

public java.lang.String getContentEncoding()
Overrides:
getContentEncoding in class java.net.URLConnection

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Overrides:
getInputStream in class java.net.URLConnection
Throws:
java.io.IOException

getLastModified

public long getLastModified()
Overrides:
getLastModified in class java.net.URLConnection