- package com.company.section3;
- /**
- * @author cbf4Life cbf4life@126.com
- * I'm glad to share my knowledge with you all.
- */
- public class ConcreteHandler3 extends Handler {
- //定义自己的处理逻辑
- protected Response echo(Request request) {
- //完成处理逻辑
- return null;
- }
- //设置自己的处理级别
- protected Level getHandlerLevel() {
- //设置自己的处理级别
- return null;
- }
- }