com.gitee.easyopen.support.VelocityContextHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easyopen-mini Show documentation
Show all versions of easyopen-mini Show documentation
easyopen mini版,保留基本签名校验,文档功能。https://gitee.com/durcframework/easyopen
package com.gitee.easyopen.support;
import org.apache.velocity.VelocityContext;
/**
* @author tanghc
*/
public interface VelocityContextHandler {
/**
* 对doc模板做额外处理
* @param context
*/
void processDocVelocityContext(VelocityContext context);
/**
* 对限流模板做额外处理
*
* @param context
*/
void processLimitVelocityContext(VelocityContext context);
/**
* 对监控模板做额外处理
*
* @param context
*/
void processMonitorVelocityContext(VelocityContext context);
/**
* 文档页顶部说明,支持html标签
* @return 返回文档备注
*/
String getDocRemark();
}