Humboldt Alignment Editor 2.7.0
- java.lang.Object
-
- eu.esdihumboldt.hale.server.console.war.services.ConsoleController
-
@Controller
@RequestMapping
public class ConsoleController
extends Object
A REST service offering access to the OSGI console. The service accepts GET
requests containing the command and returns the command's result.
- Author:
- Michel Kraemer
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
void |
destroy()
Destroys this bean.
|
void |
get(String command,
javax.servlet.http.HttpServletResponse response)
Handles OSGi console commands
|
void |
init()
Initializes this bean.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
get
@RequestMapping(value="/{command}")
public void get(@PathVariable
String command,
javax.servlet.http.HttpServletResponse response)
throws IOException
Handles OSGi console commands
- Parameters:
command
- the commandresponse
- used to return the command's results
- Throws:
IOException
- if the command could not be executed
Humboldt Alignment Editor 2.7.0
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a