|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.sswap.http.SSWAPStandalone
public class SSWAPStandalone
The main class of SSWAP HTTP API. It is used only if HTTP API is in standalone mode (i.e., deployed without a servlet container and using its internal HTTP server). This class' main method can be run with one optional parameter -- the port number. If no port number is specified, then 8080 is assumed.
Field Summary | |
---|---|
private static int |
DEFAULT_PORT
The default port number |
Constructor Summary | |
---|---|
SSWAPStandalone()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The entry point to SSWAP HTTP API when used in standalone mode (i.e., deployed without a servlet container and using its internal HTTP server). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int DEFAULT_PORT
Constructor Detail |
---|
public SSWAPStandalone()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- the command-line arguments to the program. This program has only one optional parameter
-- the port number on which the server will be run. If no parameter is specified, it will run on port 8080.
(If an invalid port number is specified, the program will terminate.)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |