|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxsul.http_server.HttpMiniServer
Very simple embeddable web server that is hosting web services.
| Constructor Summary | |
HttpMiniServer()
Creates mini server listening on default port for transport (ex. |
|
HttpMiniServer(int port)
Creates mini server listening on given port Note: 0 means to use first available port (provided by operating system) Note: -1 means to use default port for given transport (ex. |
|
HttpMiniServer(ServerSocketFactory serverSocketFactory)
|
|
| Method Summary | |
java.lang.String |
getLocation()
|
int |
getServerPort()
|
boolean |
isSuppressedSendingStackTraces()
|
static HttpMiniServer |
newInstance(ServerSocketFactory socketFactory)
|
void |
shutdownServer()
|
void |
startServer()
|
void |
stopServer()
|
void |
suppressSendingStackTraces(boolean suppressSendingStackTraces)
|
void |
useServlet(HttpMiniServlet servlet)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HttpMiniServer()
throws HttpServerException
public HttpMiniServer(int port)
throws HttpServerException
public HttpMiniServer(ServerSocketFactory serverSocketFactory)
throws HttpServerException
| Method Detail |
public void suppressSendingStackTraces(boolean suppressSendingStackTraces)
public boolean isSuppressedSendingStackTraces()
public static HttpMiniServer newInstance(ServerSocketFactory socketFactory)
public int getServerPort()
public java.lang.String getLocation()
throws HttpServerException
HttpServerExceptionpublic void useServlet(HttpMiniServlet servlet)
public void startServer()
throws HttpServerException
HttpServerException
public void stopServer()
throws HttpServerException
HttpServerException
public void shutdownServer()
throws HttpServerException
HttpServerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||