123456789101112131415161718192021222324252627282930313233343536373839404142 |
- package cn.nosum.framework.mvc.v4.servlet;
- import java.util.regex.Pattern;
- import java.lang.reflect.Method;
- public class HandlerMapping {
- private Pattern pattern;
- private Method method;
- private Object controller;
- public HandlerMapping(Pattern pattern, Object controller, Method method) {
- this.pattern = pattern;
- this.method = method;
- this.controller = controller;
- }
- public Pattern getPattern() {
- return pattern;
- }
- public void setPattern(Pattern pattern) {
- this.pattern = pattern;
- }
- public Method getMethod() {
- return method;
- }
- public void setMethod(Method method) {
- this.method = method;
- }
- public Object getController() {
- return controller;
- }
- public void setController(Object controller) {
- this.controller = controller;
- }
- }
|