ResourceConnector (Groovy 5.0.8)
Description: declaration: package: groovy.util, interface: ResourceConnector

Package groovy.util

# Interface ResourceConnector

All Known Implementing Classes:
  `AbstractHttpServlet`, `GroovyScriptEngine`, `GroovyServlet`, `TemplateServlet`

public interface ResourceConnector
Base interface for customizing where resources can be found for the `GroovyScriptEngine`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `URLConnection`
  `getResourceConnection(String name)`
  Retrieve a URLConnection to a script referenced by name.

- ## Method Details

  - ### getResourceConnection

    URLConnection getResourceConnection(String name) throws ResourceException
    Retrieve a URLConnection to a script referenced by name.
    Parameters:
      `name` -
    Throws:
      `ResourceException`