1.DEBUG [2017-07-10 11:38:41,705][] org.springframework.web.servlet.DispatcherServlet:865 - DispatcherServlet with name ‘dispatcherServlet‘ processing POST request for [/profit/queryProfitAccountList] 注:spring mvc的的dispatcherservlet会日志打印传进来的每个请求的url和http方法,并日志debug输出打印 dispatcherservlet处理分发请求后,当然就要handlermapping查找controller的方法了,如下打印:2.DEBUG [2017-07-10 11:38:41,705][] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping:310 - Looking up handler method for path /profit/queryProfitAccountList debug打印“Looking up handler method for path /profit/queryProfitAccountList
3.DEBUG [2017-07-10 11:38:41,705][] org.springframework.web.servlet.handler.AbstractHandlerMethodMapping:317 - Returning handler method [public java.util.Map<java.lang.String, java.lang.Object> com.pingan.property.icore.pap.aggregation.profit.controller.ProfitController.queryProfitAccounts(com.pingan.property.icore.pap.aggregation.profit.dto.QueryProfitAccountReqDTO)]
handlermapping查找到url对应的controller和方法,并log打印出来controller类名和处理方法名,并打印出整个方法的形参和返回值 4. DEBUG [2017-07-10 11:38:41,706][] org.springframework.beans.factory.support.AbstractBeanFactory:251 - Returning cached instance of singleton bean ‘profitController‘
时间: 2024-10-19 10:23:53