Package groovy.util
Interface ResourceConnector
-
- All Known Implementing Classes:
AbstractHttpServlet,GroovyScriptEngine,GroovyServlet,TemplateServlet
public interface ResourceConnectorBase interface for customizing where resources can be found for theGroovyScriptEngine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.URLConnectiongetResourceConnection(java.lang.String name)Retrieve a URLConnection to a script referenced by name.
-
-
-
Method Detail
-
getResourceConnection
java.net.URLConnection getResourceConnection(java.lang.String name) throws ResourceExceptionRetrieve a URLConnection to a script referenced by name.- Parameters:
name-- Throws:
ResourceException
-
-