File was renamed from src/de/uhilger/calypso/neu/http/Server.java |
| | |
| | | along with this program. If not, see <https://www.gnu.org/licenses/>. |
| | | */ |
| | | |
| | | package de.uhilger.calypso.neu.http; |
| | | package de.uhilger.calypso.http; |
| | | |
| | | import com.sun.net.httpserver.HttpContext; |
| | | import com.sun.net.httpserver.HttpServer; |
| | | import de.uhilger.calypso.neu.AppProperties; |
| | | import de.uhilger.calypso.AppProperties; |
| | | import java.io.File; |
| | | import java.io.IOException; |
| | | import java.net.InetSocketAddress; |
| | |
| | | |
| | | |
| | | public void start(AppProperties einst) { |
| | | Logger logger = Logger.getLogger(de.uhilger.calypso.neu.http.Server.class.getName()); |
| | | Logger logger = Logger.getLogger(de.uhilger.calypso.http.Server.class.getName()); |
| | | logger.log(Level.INFO, "Server startet auf Port {0}", einst.getString(PORT)); |
| | | String skripte = einst.getString(SKRIPTE); |
| | | File skript = new File(skripte, "pause"); |