public class Mapping
extends java.lang.Object
Save the request mapping configuration.
Created by Zhenjie Yan on 2018/6/13.| Constructor and Description |
|---|
Mapping() |
| Modifier and Type | Method and Description |
|---|---|
Mime |
getConsume() |
Pair |
getHeader() |
Method |
getMethod() |
Pair |
getParam() |
Path |
getPath() |
Mime |
getProduce() |
void |
setConsume(Mime consume) |
void |
setHeader(Pair header) |
void |
setMethod(Method method) |
void |
setParam(Pair param) |
void |
setPath(Path path) |
void |
setProduce(Mime produce) |
public Path getPath()
public void setPath(Path path)
public Method getMethod()
public void setMethod(Method method)
public Pair getParam()
public void setParam(Pair param)
public Pair getHeader()
public void setHeader(Pair header)
public Mime getConsume()
public void setConsume(Mime consume)
public Mime getProduce()
public void setProduce(Mime produce)