Package org.actioncontroller.socket
Class SocketHttpServer
- java.lang.Object
-
- org.actioncontroller.socket.SocketHttpServer
-
public class SocketHttpServer extends Object
-
-
Constructor Summary
Constructors Constructor Description SocketHttpServer(InetSocketAddress socketAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateContext(String prefix, ApiSocketAdapter adapter)intgetAddress()voidstart()
-
-
-
Constructor Detail
-
SocketHttpServer
public SocketHttpServer(InetSocketAddress socketAddress)
-
-
Method Detail
-
createContext
public void createContext(String prefix, ApiSocketAdapter adapter)
-
start
public void start() throws IOException- Throws:
IOException
-
getAddress
public int getAddress()
-
-