编辑 | blame | 历史 | 原始文档

1. 简介

dobbinfw-launcher提供部分模板方法,可以在适当的时候扩展

2. after http

2.1. AfterFileUpload

当文件上传后

public interface AfterFileUpload {

    public void afterPublic(String filename, String url, long contentType);

    public void afterPrivate(String filename, String url, String key, long contentType);

}

2.2. BeforeProcess

当普通API调用前

public interface AfterHttpMethod {

    public void after(HttpServletResponse response, String result);

}