|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.dreamhead.moco.handler.AbstractResponseHandler
com.github.dreamhead.moco.handler.AbstractContentResponseHandler
com.github.dreamhead.moco.mount.MountHandler
public class MountHandler
| Constructor Summary | |
|---|---|
MountHandler(java.io.File dir,
MountTo target)
|
|
| Method Summary | |
|---|---|
ResponseHandler |
apply(MocoConfig config)
|
protected java.lang.String |
getContentType(io.netty.handler.codec.http.FullHttpRequest request)
|
protected void |
writeContentResponse(io.netty.handler.codec.http.FullHttpRequest request,
io.netty.buffer.ByteBuf buffer)
|
| Methods inherited from class com.github.dreamhead.moco.handler.AbstractContentResponseHandler |
|---|
writeToResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MountHandler(java.io.File dir,
MountTo target)
| Method Detail |
|---|
protected void writeContentResponse(io.netty.handler.codec.http.FullHttpRequest request,
io.netty.buffer.ByteBuf buffer)
writeContentResponse in class AbstractContentResponseHandlerprotected java.lang.String getContentType(io.netty.handler.codec.http.FullHttpRequest request)
getContentType in class AbstractContentResponseHandlerpublic ResponseHandler apply(MocoConfig config)
apply in interface ConfigApplier<ResponseHandler>apply in class AbstractResponseHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||