|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.clerezza.jaxrs.testutils.TestWebServer
public class TestWebServer
Creates a single webserver, the webserver is stopped when the instance is garbage collected
| Constructor Summary | |
|---|---|
TestWebServer(javax.ws.rs.core.Application application)
starts a webserver for the given jax-rs application |
|
| Method Summary | |
|---|---|
protected void |
finalize()
|
int |
getPort()
A TestWebServer gets a free port on start-up |
void |
stop()
stops the webserver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestWebServer(javax.ws.rs.core.Application application)
application - the application to be exposed| Method Detail |
|---|
public int getPort()
protected void finalize()
throws Throwable
finalize in class ObjectThrowablepublic void stop()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||