com.blade.server.netty.RequestHandler Maven / Gradle / Ivy
package com.blade.server.netty;
import com.blade.exception.BladeException;
import com.blade.mvc.http.Request;
import com.blade.mvc.http.Response;
import io.netty.channel.ChannelHandlerContext;
/**
* @author biezhi
* 2017/6/3
*/
@FunctionalInterface
public interface RequestHandler {
R handle(ChannelHandlerContext ctx, Request request, Response response) throws BladeException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy