public class WorkspaceUrlConnection
extends java.net.URLConnection
implements groovy.lang.GroovyObject
| Constructor and Description |
|---|
WorkspaceUrlConnection(java.net.URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
java.io.InputStream |
getIs() |
groovy.lang.MetaClass |
getMetaClass() |
java.lang.Object |
getProperty(java.lang.String property) |
java.lang.Object |
invokeMethod(java.lang.String method,
java.lang.Object arguments) |
void |
setIs(java.io.InputStream value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(java.lang.String property,
java.lang.Object value) |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringpublic groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic java.lang.Object invokeMethod(java.lang.String method,
java.lang.Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic java.lang.Object getProperty(java.lang.String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(java.lang.String property,
java.lang.Object value)
setProperty in interface groovy.lang.GroovyObjectpublic java.io.InputStream getIs()
public void setIs(java.io.InputStream value)
public void connect()
throws java.io.IOException
connect in class java.net.URLConnectionjava.io.IOExceptionpublic java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.URLConnectionjava.io.IOExceptionpublic java.lang.String getContentType()
getContentType in class java.net.URLConnection