package de.uhilger.calypso.handler;
|
|
import com.sun.net.httpserver.HttpExchange;
|
import de.uhilger.calypso.App;
|
|
/**
|
*
|
* @author Ulrich Hilger
|
*/
|
public class MPVKillHandler extends AbstractHandler {
|
|
@Override
|
protected String process(HttpExchange t, String params) {
|
Process p = App.getPlayerProcess();
|
p.destroy();
|
App.setPlayerProcess(null);
|
String antwort = "Player-Prozess beendet.";
|
return antwort;
|
}
|
|
}
|