|
|||||||||
| 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.Setting
com.github.dreamhead.moco.setting.BaseSetting
public class BaseSetting
| Field Summary |
|---|
| Fields inherited from class com.github.dreamhead.moco.Setting |
|---|
matcher |
| Fields inherited from class com.github.dreamhead.moco.ResponseSetting |
|---|
eventTriggers, handler |
| Constructor Summary | |
|---|---|
BaseSetting(RequestMatcher matcher)
|
|
| Method Summary | |
|---|---|
BaseSetting |
apply(MocoConfig config)
|
void |
fireCompleteEvent()
|
boolean |
match(io.netty.handler.codec.http.FullHttpRequest request)
|
void |
writeToResponse(io.netty.handler.codec.http.FullHttpRequest request,
io.netty.handler.codec.http.FullHttpResponse response)
|
| 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 |
| Constructor Detail |
|---|
public BaseSetting(RequestMatcher matcher)
| Method Detail |
|---|
public boolean match(io.netty.handler.codec.http.FullHttpRequest request)
public void writeToResponse(io.netty.handler.codec.http.FullHttpRequest request,
io.netty.handler.codec.http.FullHttpResponse response)
public BaseSetting apply(MocoConfig config)
apply in interface ConfigApplier<BaseSetting>public void fireCompleteEvent()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||