/* * @(#)NewMapping.java 2013-1-28 下午23:33:33 * * Copyright (c) 2011-2013 Makersoft.org all rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * */ package org.makersoft.mvc.mapping.impl; import org.makersoft.mvc.mapping.AbstractMapping; import org.springframework.web.bind.annotation.RequestMethod; /** * */ public class NewMapping extends AbstractMapping { private String[] values = new String[]{ "/new" }; private RequestMethod[] requestMethods = {RequestMethod.GET}; public NewMapping() { super(METHOD_NEW_NAME); } @Override public String[] getValues() { return values; } @Override public RequestMethod[] getRequestMethods() { return requestMethods; } }