|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.dreamhead.moco.ResponseSetting
com.github.dreamhead.moco.HttpServer
com.github.dreamhead.moco.internal.ActualHttpServer
public class ActualHttpServer
| Field Summary |
|---|
| Fields inherited from class com.github.dreamhead.moco.ResponseSetting |
|---|
eventTriggers, handler |
| Method Summary | |
|---|---|
static ActualHttpServer |
createHttpServerWithMonitor(com.google.common.base.Optional<java.lang.Integer> port,
MocoMonitor monitor,
MocoConfig... configs)
|
static ActualHttpServer |
createLogServer(com.google.common.base.Optional<java.lang.Integer> port,
MocoConfig... configs)
|
static ActualHttpServer |
createQuietServer(com.google.common.base.Optional<java.lang.Integer> port,
MocoConfig... configs)
|
BaseSetting |
getAnySetting()
|
MocoMonitor |
getMonitor()
|
com.google.common.base.Optional<java.lang.Integer> |
getPort()
|
com.google.common.collect.ImmutableList<BaseSetting> |
getSettings()
|
HttpServer |
mergeHttpServer(ActualHttpServer thatServer)
|
protected Setting |
onRequestAttached(RequestMatcher matcher)
|
int |
port()
|
void |
setPort(int port)
|
| Methods inherited from class com.github.dreamhead.moco.HttpServer |
|---|
delete, get, mount, post, put, request, request |
| Methods inherited from class com.github.dreamhead.moco.ResponseSetting |
|---|
context, on, redirectTo, response, response, response, response, response |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public com.google.common.collect.ImmutableList<BaseSetting> getSettings()
public BaseSetting getAnySetting()
public com.google.common.base.Optional<java.lang.Integer> getPort()
public MocoMonitor getMonitor()
public HttpServer mergeHttpServer(ActualHttpServer thatServer)
public int port()
port in class HttpServerprotected Setting onRequestAttached(RequestMatcher matcher)
onRequestAttached in class HttpServer
public static ActualHttpServer createHttpServerWithMonitor(com.google.common.base.Optional<java.lang.Integer> port,
MocoMonitor monitor,
MocoConfig... configs)
public static ActualHttpServer createLogServer(com.google.common.base.Optional<java.lang.Integer> port,
MocoConfig... configs)
public static ActualHttpServer createQuietServer(com.google.common.base.Optional<java.lang.Integer> port,
MocoConfig... configs)
public void setPort(int port)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||