Move move

This commit is contained in:
Norbi Peti 2016-07-19 09:11:12 +02:00
parent f07b8fed41
commit bcbf53c803
5 changed files with 16 additions and 3 deletions

View file

@ -12,6 +12,8 @@ import com.sun.net.httpserver.HttpHandler;
import com.sun.net.httpserver.HttpServer;
import io.github.norbipeti.chat.server.db.DataProvider;
import io.github.norbipeti.chat.server.page.IndexPage;
import io.github.norbipeti.chat.server.page.RegisterPage;
public class Main {
// public static final HashMap<String, Page> Pages = new HashMap<String,

View file

@ -1,9 +1,11 @@
package io.github.norbipeti.chat.server;
package io.github.norbipeti.chat.server.page;
import java.io.IOException;
import com.sun.net.httpserver.HttpExchange;
import io.github.norbipeti.chat.server.IOHelper;
public class IndexPage extends Page {
@Override

View file

@ -0,0 +1,5 @@
package io.github.norbipeti.chat.server.page;
public class LoginPage {
}

View file

@ -1,7 +1,9 @@
package io.github.norbipeti.chat.server;
package io.github.norbipeti.chat.server.page;
import com.sun.net.httpserver.*;
import io.github.norbipeti.chat.server.Main;
/**
* Add to {@link Main}.Pages
*

View file

@ -1,9 +1,11 @@
package io.github.norbipeti.chat.server;
package io.github.norbipeti.chat.server.page;
import java.io.IOException;
import com.sun.net.httpserver.HttpExchange;
import io.github.norbipeti.chat.server.IOHelper;
public class RegisterPage extends Page {
@Override
public void handle(HttpExchange exchange) throws IOException {