|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.datadosen.net.JettyHttpServer
public class JettyHttpServer
| Field Summary | |
|---|---|
protected org.mortbay.http.SocketListener |
listener
|
static java.lang.String |
PING_SERVLET_URI
|
protected org.mortbay.http.HttpServer |
server
|
| Constructor Summary | |
|---|---|
JettyHttpServer()
|
|
| Method Summary | |
|---|---|
int |
getPort()
getPort |
java.util.List |
getShares()
getShares |
boolean |
isRunning()
isRunning |
void |
setPort(int port)
setPort |
void |
setShares(java.util.List shares)
setShares |
void |
start()
start |
void |
stop()
stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PING_SERVLET_URI
protected org.mortbay.http.HttpServer server
protected org.mortbay.http.SocketListener listener
| Constructor Detail |
|---|
public JettyHttpServer()
| Method Detail |
|---|
public void setPort(int port)
port - intpublic int getPort()
public void setShares(java.util.List shares)
shares - Listpublic java.util.List getShares()
public void start()
throws java.lang.Exception
java.lang.Exception
public void stop()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic boolean isRunning()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||