|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.crispy.impl.rest.MiniRestServer
Mini web server implementation with a REST servlets (RestServlet).
Field Summary | |
static int |
DEFAULT_PORT
|
Constructor Summary | |
MiniRestServer()
|
|
MiniRestServer(int pvPort)
|
Method Summary | |
void |
addService(java.lang.String pvServiceInterface,
java.lang.String pvServiceObject)
Add services to the server |
void |
start()
Start the Server. |
void |
stop()
Stop the Server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_PORT
Constructor Detail |
public MiniRestServer()
public MiniRestServer(int pvPort)
Method Detail |
public void addService(java.lang.String pvServiceInterface, java.lang.String pvServiceObject)
MiniServer
addService
in interface MiniServer
pvServiceInterface
- Interface of the service.pvServiceObject
- Implementation of the service.public void start()
MiniServer
start
in interface MiniServer
public void stop()
MiniServer
stop
in interface MiniServer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |