Package net.sourceforge.plantuml.picoweb
Class PicoWebServer
java.lang.Object
net.sourceforge.plantuml.picoweb.PicoWebServer
- All Implemented Interfaces:
java.lang.Runnable
public class PicoWebServer
extends java.lang.Object
implements java.lang.Runnable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PicoWebServer
public PicoWebServer(java.net.Socket c)
-
-
Method Details
-
main
public static void main(java.lang.String[] args) throws java.io.IOException - Throws:
java.io.IOException
-
startServer
public static void startServer(int port, java.lang.String bindAddress) throws java.io.IOException - Throws:
java.io.IOException
-
serverLoop
public static void serverLoop(java.net.ServerSocket serverConnect) throws java.io.IOException - Throws:
java.io.IOException
-
run
public void run()- Specified by:
run
in interfacejava.lang.Runnable
-
handleRenderRequest
public void handleRenderRequest(RenderRequest renderRequest, java.io.BufferedOutputStream out) throws java.lang.Exception - Throws:
java.lang.Exception
-