1 16 17 package org.springframework.web.servlet; 18 19 27 public class HandlerExecutionChain { 28 29 private Object handler; 30 31 private HandlerInterceptor[] interceptors; 32 33 34 38 public HandlerExecutionChain(Object handler) { 39 this.handler = handler; 40 } 41 42 48 public HandlerExecutionChain(Object handler, HandlerInterceptor[] interceptors) { 49 this.handler = handler; 50 this.interceptors = interceptors; 51 } 52 53 54 58 public Object getHandler() { 59 return this.handler; 60 } 61 62 66 public HandlerInterceptor[] getInterceptors() { 67 return this.interceptors; 68 } 69 70 } 71 | Popular Tags |