public class MvcMapping extends Object
| 构造器和说明 |
|---|
MvcMapping(String[] path,
org.springframework.web.bind.annotation.RequestMethod... method) |
MvcMapping(String name,
String[] path,
org.springframework.web.bind.annotation.RequestMethod[] method,
String[] params,
String[] headers,
String[] consumes,
String[] produces) |
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
getConsumes() |
String[] |
getHeaders() |
org.springframework.web.bind.annotation.RequestMethod[] |
getMethod() |
String |
getName() |
String[] |
getParams() |
String[] |
getPath() |
String[] |
getProduces() |
void |
setConsumes(String[] consumes) |
void |
setHeaders(String[] headers) |
void |
setMethod(org.springframework.web.bind.annotation.RequestMethod[] method) |
void |
setName(String name) |
void |
setParams(String[] params) |
void |
setProduces(String[] produces) |
public MvcMapping(String[] path, org.springframework.web.bind.annotation.RequestMethod... method)
public String getName()
public void setName(String name)
public org.springframework.web.bind.annotation.RequestMethod[] getMethod()
public void setMethod(org.springframework.web.bind.annotation.RequestMethod[] method)
public String[] getParams()
public void setParams(String[] params)
public String[] getHeaders()
public void setHeaders(String[] headers)
public String[] getConsumes()
public void setConsumes(String[] consumes)
public String[] getProduces()
public void setProduces(String[] produces)
public String[] getPath()
Copyright © 2018. All rights reserved.