Package net.sourceforge.plantuml.picoweb
Class PicoWebServer
- java.lang.Object
-
- net.sourceforge.plantuml.picoweb.PicoWebServer
-
-
Constructor Summary
Constructors Constructor Description PicoWebServer(Socket c)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRenderRequest(RenderRequest renderRequest, BufferedOutputStream out)
static void
main(String[] args)
void
run()
static void
serverLoop(ServerSocket serverConnect)
static void
startServer(int port, String bindAddress)
-
-
-
Constructor Detail
-
PicoWebServer
public PicoWebServer(Socket c)
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
startServer
public static void startServer(int port, String bindAddress) throws IOException
- Throws:
IOException
-
serverLoop
public static void serverLoop(ServerSocket serverConnect) throws IOException
- Throws:
IOException
-
handleRenderRequest
public void handleRenderRequest(RenderRequest renderRequest, BufferedOutputStream out) throws Exception
- Throws:
Exception
-
-