All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blade.mvc.handler.RouteHandler0 Maven / Gradle / Ivy

There is a newer version: 2.0.15.RELEASE
Show newest version
package com.blade.mvc.handler;

import com.blade.mvc.RouteContext;
import com.blade.mvc.http.Request;
import com.blade.mvc.http.Response;

/**
 * Route logic handler
 *
 * @author biezhi
 * 2017/5/31
 */
@Deprecated
@FunctionalInterface
public interface RouteHandler0 {

    /**
     * Route handler
     *
     * @param request  current thread Request instance
     * @param response current thread Response instance
     *                 {@link RouteHandler#handle(RouteContext)}
     */
    void handle(Request request, Response response);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy