public class PluginResource extends Object
Constructor and Description |
---|
PluginResource() |
PluginResource(javax.servlet.http.HttpServletResponse httpServletResponse) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
readFile(String pluginId,
String path)
Retrieve the file from the selected plugin.
|
public PluginResource()
public PluginResource(javax.servlet.http.HttpServletResponse httpServletResponse)
public javax.ws.rs.core.Response readFile(String pluginId, String path) throws IOException
pluginId
- (Plugin ID of the selected Plugin)path
- (Path of the file being retrieved. This is a colon separated path to the plugin file. This
is usually a static file like a javascript, image or htmlIOException