package de.uhilger.calypso.handler; import com.sun.net.httpserver.HttpExchange; import de.uhilger.calypso.App; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author Ulrich Hilger */ public class MPlayHandler extends AbstractHandler { private static final Logger logger = Logger.getLogger(MPlayHandler.class.getName()); @Override protected String process(HttpExchange t, String params) { Player player = App.getPlayer(); String antwort = player.abspielen( player.getParam(map, "titel"), params, player.getParam(map, "r"), "1"); logger.log(Level.FINE, antwort); return antwort; } }