|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.server.console.war.services.ConsoleController
@Controller @RequestMapping public class ConsoleController
A REST service offering access to the OSGI console. The service accepts GET requests containing the command and returns the command's result.
Constructor Summary | |
---|---|
ConsoleController()
|
Method Summary | |
---|---|
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 |
Constructor Detail |
---|
public ConsoleController()
Method Detail |
---|
public void init() throws IOException
IOException
- if the initial prompt could not be readpublic void destroy()
@RequestMapping(value="/{command}") public void get(@PathVariable String command, javax.servlet.http.HttpServletResponse response) throws IOException
command
- the commandresponse
- used to return the command's results
IOException
- if the command could not be executed
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |