/*
* @(#)IndexMapping.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 IndexMapping extends AbstractMapping {
private String[] values = new String[]{};
private RequestMethod[] requestMethods = {RequestMethod.GET};
public IndexMapping() {
super(METHOD_INDEX_NAME);
}
@Override
public String[] getValues() {
return values;
}
@Override
public RequestMethod[] getRequestMethods() {
return requestMethods;
}
}