public class RequestHeaderAnnotationProcessor extends AbstractSpringmvcSerializableParameterProcessor<io.swagger.models.parameters.HeaderParameter,org.springframework.web.bind.annotation.RequestHeader>
| Constructor and Description |
|---|
RequestHeaderAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
HttpParameterType |
getHttpParameterType(org.springframework.web.bind.annotation.RequestHeader parameterAnnotation) |
String |
getParameterName(org.springframework.web.bind.annotation.RequestHeader annotation) |
Type |
getProcessType() |
protected String |
pureReadDefaultValue(org.springframework.web.bind.annotation.RequestHeader requestHeader) |
protected boolean |
readRequired(org.springframework.web.bind.annotation.RequestHeader requestHeader) |
fillParameter, readDefaultValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfillParameter, getGenericType, getProcessJavaTypepublic Type getProcessType()
public String getParameterName(org.springframework.web.bind.annotation.RequestHeader annotation)
public HttpParameterType getHttpParameterType(org.springframework.web.bind.annotation.RequestHeader parameterAnnotation)
protected boolean readRequired(org.springframework.web.bind.annotation.RequestHeader requestHeader)
readRequired in class AbstractSpringmvcSerializableParameterProcessor<io.swagger.models.parameters.HeaderParameter,org.springframework.web.bind.annotation.RequestHeader>protected String pureReadDefaultValue(org.springframework.web.bind.annotation.RequestHeader requestHeader)
pureReadDefaultValue in class AbstractSpringmvcSerializableParameterProcessor<io.swagger.models.parameters.HeaderParameter,org.springframework.web.bind.annotation.RequestHeader>Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.