类的使用
cn.taketoday.web.handler.method.RequestMappingInfo
使用RequestMappingInfo的程序包
-
cn.taketoday.web.handler.method中RequestMappingInfo的使用
修饰符和类型字段说明private final RequestMappingInfoRequestMappingInfoHandlerMapping.PartialMatchHelper.PartialMatch.info修饰符和类型方法说明RequestMappingInfo.addCustomCondition(RequestCondition<?> customCondition) Create a new instance based on the current one, also adding the given custom condition.RequestMappingInfo.Builder.build()Build the RequestMappingInfo.RequestMappingInfo.DefaultBuilder.build()RequestMappingInfo.MutateBuilder.build()RequestMappingInfo.combine(RequestMappingInfo other) Combine "this" request mapping info (i.e. the current instance) with another request mapping info instance.protected RequestMappingInfoRequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping requestMapping, RequestCondition<?> customCondition) Create aRequestMappingInfofrom the supplied@RequestMappingannotation, which is either a directly declared annotation, a meta-annotation, or the synthesized result of merging annotation attributes within an annotation hierarchy.protected RequestMappingInfoRequestMappingHandlerMapping.createRequestMappingInfo(HttpExchange httpExchange, RequestCondition<?> customCondition) Create aRequestMappingInfofrom the supplied@HttpExchangeannotation, or meta-annotation, or synthesized result of merging annotation attributes within an annotation hierarchy.private RequestMappingInfoRequestMappingHandlerMapping.createRequestMappingInfo(AnnotatedElement element) Delegates toRequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping, RequestCondition), supplying the appropriate customRequestConditiondepending on whether the suppliedannotatedElementis a class or method.RequestMappingInfoHandlerMapping.PartialMatchHelper.PartialMatch.getInfo()protected RequestMappingInfoRequestMappingHandlerMapping.getMappingForMethod(Method method, Class<?> handlerType) Uses method and type-level @RequestMappingannotations to create the RequestMappingInfo.RequestMappingInfo.getMatchingCondition(RequestContext request) Checks if all conditions in this request mapping info match the provided request and returns a potentially new request mapping info with conditions tailored to the current request.protected RequestMappingInfoRequestMappingInfoHandlerMapping.getMatchingMapping(RequestMappingInfo info, RequestContext request) Check if the given RequestMappingInfo matches the current request and return a (potentially new) instance with conditions that match the current request -- for example with a subset of URL patterns.返回变量类型为RequestMappingInfo的类型的cn.taketoday.web.handler.method中的方法修饰符和类型方法说明protected Comparator<RequestMappingInfo>RequestMappingInfoHandlerMapping.getMappingComparator(RequestContext request) Provide a Comparator to sort RequestMappingInfos matched to a request.修饰符和类型方法说明RequestMappingInfo.combine(RequestMappingInfo other) Combine "this" request mapping info (i.e. the current instance) with another request mapping info instance.private StringRequestMappingInfo.combineNames(RequestMappingInfo other) intRequestMappingInfo.compareTo(RequestMappingInfo other, RequestContext request) Compares "this" info (i.e. the current instance) with another info in the context of a request.RequestMappingInfoHandlerMapping.getDirectPaths(RequestMappingInfo info) protected RequestMappingInfoRequestMappingInfoHandlerMapping.getMatchingMapping(RequestMappingInfo info, RequestContext request) Check if the given RequestMappingInfo matches the current request and return a (potentially new) instance with conditions that match the current request -- for example with a subset of URL patterns.RequestMappingInfoHandlerMethodMappingNamingStrategy.getName(HandlerMethod handlerMethod, RequestMappingInfo mapping) protected CorsConfigurationRequestMappingHandlerMapping.initCorsConfiguration(Object handler, HandlerMethod handlerMethod, Method method, RequestMappingInfo mappingInfo) protected voidRequestMappingHandlerMapping.registerHandlerMethod(Object handler, Method method, RequestMappingInfo mapping) Register a handler method and its unique mapping.voidRequestMappingHandlerMapping.registerMapping(RequestMappingInfo mapping, Object handler, Method method) private voidRequestMappingHandlerMapping.updateConsumesCondition(RequestMappingInfo info, Method method) 类型变量类型为RequestMappingInfo的cn.taketoday.web.handler.method中的方法参数修饰符和类型方法说明protected voidRequestMappingInfoHandlerMapping.handleMatch(AbstractHandlerMethodMapping.Match<RequestMappingInfo> bestMatch, String directLookupPath, RequestContext request) Expose URI template variables, matrix variables, and producible media types in the request.protected HandlerMethodRequestMappingInfoHandlerMapping.handleNoMatch(Set<RequestMappingInfo> infos, String lookupPath, RequestContext request) Iterate all RequestMappingInfo's once again, look if any match by URL at least and raise exceptions according to what doesn't match.限定符构造器说明MutateBuilder(RequestMappingInfo other) PartialMatch(RequestMappingInfo info, RequestContext request) Create a newRequestMappingInfoHandlerMapping.PartialMatchHelper.PartialMatchinstance.类型变量类型为RequestMappingInfo的cn.taketoday.web.handler.method中的构造器参数