|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectcom.confluex.mock.http.MockHttpServer
class MockHttpServer extends java.lang.Object
| Property Summary | |
|---|---|
MockHttpRequestHandler |
handler
|
org.mortbay.jetty.Server |
jettyServer
|
int |
port
|
| Constructor Summary | |
MockHttpServer()
|
|
MockHttpServer(int port)
|
|
| Method Summary | |
|---|---|
java.util.List
|
getRequests()
|
protected org.mortbay.jetty.Server
|
initJettyServer(int port)
|
HttpResponderBuilder
|
respondTo(HttpRequestMatcher matcher)
|
void
|
stop()
|
boolean
|
waitFor(HttpRequestMatcher matcher, java.lang.Long timeoutMs)
|
boolean
|
waitFor(HttpRequestMatcher matcher, int expected, java.lang.Long timeoutMs)
|
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Property Detail |
|---|
MockHttpRequestHandler handler
org.mortbay.jetty.Server jettyServer
int port
| Constructor Detail |
|---|
MockHttpServer()
MockHttpServer(int port)
| Method Detail |
|---|
java.util.List getRequests()
protected org.mortbay.jetty.Server initJettyServer(int port)
HttpResponderBuilder respondTo(HttpRequestMatcher matcher)
void stop()
boolean waitFor(HttpRequestMatcher matcher, java.lang.Long timeoutMs)
boolean waitFor(HttpRequestMatcher matcher, int expected, java.lang.Long timeoutMs)
Groovy Documentation