public class ParameterInfo extends Object
Constructor and Description |
---|
ParameterInfo(String pName,
org.springframework.core.MethodParameter methodParameter)
Instantiates a new Parameter info.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.web.bind.annotation.CookieValue |
getCookieValue()
Gets cookie value.
|
org.springframework.core.MethodParameter |
getMethodParameter()
Gets method parameter.
|
Parameter |
getParameter()
Gets parameter.
|
io.swagger.v3.oas.models.parameters.Parameter |
getParameterModel()
Gets parameter model.
|
org.springframework.web.bind.annotation.PathVariable |
getPathVar()
Gets path var.
|
String |
getpName()
Gets name.
|
org.springframework.web.bind.annotation.RequestHeader |
getRequestHeader()
Gets request header.
|
org.springframework.web.bind.annotation.RequestParam |
getRequestParam()
Gets request param.
|
void |
setParameterModel(io.swagger.v3.oas.models.parameters.Parameter parameterModel)
Sets parameter model.
|
void |
setpName(String pName)
Sets name.
|
public ParameterInfo(String pName, org.springframework.core.MethodParameter methodParameter)
pName
- the p namemethodParameter
- the method parameterpublic String getpName()
public void setpName(String pName)
pName
- the p namepublic org.springframework.core.MethodParameter getMethodParameter()
public Parameter getParameter()
public io.swagger.v3.oas.models.parameters.Parameter getParameterModel()
public void setParameterModel(io.swagger.v3.oas.models.parameters.Parameter parameterModel)
parameterModel
- the parameter modelpublic org.springframework.web.bind.annotation.RequestHeader getRequestHeader()
public org.springframework.web.bind.annotation.RequestParam getRequestParam()
public org.springframework.web.bind.annotation.PathVariable getPathVar()
public org.springframework.web.bind.annotation.CookieValue getCookieValue()
Copyright © 2020. All rights reserved.