Move move
This commit is contained in:
parent
f07b8fed41
commit
bcbf53c803
5 changed files with 16 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
5
src/io/github/norbipeti/chat/server/page/LoginPage.java
Normal file
5
src/io/github/norbipeti/chat/server/page/LoginPage.java
Normal file
|
@ -0,0 +1,5 @@
|
|||
package io.github.norbipeti.chat.server.page;
|
||||
|
||||
public class LoginPage {
|
||||
|
||||
}
|
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue