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

com.github.datalking.web.servlet.HandlerMapping Maven / Gradle / Ivy

The newest version!
package com.github.datalking.web.servlet;

import javax.servlet.http.HttpServletRequest;

/**
 * url映射处理类
 * 根据请求的url找到对应的Handler对象,一般是@Controller标注的类
 *
 * @author yaoo on 4/25/18
 */
public interface HandlerMapping {

    String PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE = HandlerMapping.class.getName() + ".pathWithinHandlerMapping";

    String BEST_MATCHING_PATTERN_ATTRIBUTE = HandlerMapping.class.getName() + ".bestMatchingPattern";

    String INTROSPECT_TYPE_LEVEL_MAPPING = HandlerMapping.class.getName() + ".introspectTypeLevelMapping";

    String URI_TEMPLATE_VARIABLES_ATTRIBUTE = HandlerMapping.class.getName() + ".uriTemplateVariables";

    String MATRIX_VARIABLES_ATTRIBUTE = HandlerMapping.class.getName() + ".matrixVariables";

    String PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE = HandlerMapping.class.getName() + ".producibleMediaTypes";

    // 接收http请求的输入,返回执行链
    HandlerExecutionChain getHandler(HttpServletRequest request);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy