/* * @(#)CreateMapping.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.web.mvc.mapping.impl; import org.makersoft.web.mvc.mapping.AbstractMapping; import org.springframework.web.bind.annotation.RequestMethod; /** * */ public class CreateMapping extends AbstractMapping { private String[] values = new String[] { }; private RequestMethod[] requestMethods = { RequestMethod.POST }; public CreateMapping() { super(METHOD_CREATE_NAME); } @Override public String[] getValues() { return values; } @Override public RequestMethod[] getRequestMethods() { return requestMethods; } }