public class PicoWebServer
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
PicoWebServer(java.net.Socket c) |
Modifier and Type | Method and Description |
---|---|
void |
handleRenderRequest(RenderRequest renderRequest,
java.io.BufferedOutputStream out) |
static void |
main(java.lang.String[] args) |
void |
run() |
static void |
serverLoop(java.net.ServerSocket serverConnect) |
static void |
startServer(int port,
java.lang.String bindAddress) |
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public static void startServer(int port, java.lang.String bindAddress) throws java.io.IOException
java.io.IOException
public static void serverLoop(java.net.ServerSocket serverConnect) throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
public void handleRenderRequest(RenderRequest renderRequest, java.io.BufferedOutputStream out) throws java.lang.Exception
java.lang.Exception