public abstract class AbstractSwaggerWelcome extends Object implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
protected String |
oauth2RedirectUrl |
protected SpringDocConfigProperties |
springDocConfigProperties |
protected SwaggerUiConfigProperties |
swaggerUiConfig |
protected String |
uiRootPath |
Constructor and Description |
---|
AbstractSwaggerWelcome(SwaggerUiConfigProperties swaggerUiConfig,
SpringDocConfigProperties springDocConfigProperties) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected void |
buildConfigUrl(String contextPath,
org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder) |
protected String |
buildUrl(String contextPath,
String docsUrl) |
protected abstract void |
calculateOauth2RedirectUrl(org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder) |
protected abstract void |
calculateUiRootPath(StringBuilder... sbUrls) |
protected org.springframework.web.util.UriComponentsBuilder |
getUriComponentsBuilder(String sbUrl) |
protected final SwaggerUiConfigProperties swaggerUiConfig
protected final SpringDocConfigProperties springDocConfigProperties
protected String uiRootPath
protected String oauth2RedirectUrl
public AbstractSwaggerWelcome(SwaggerUiConfigProperties swaggerUiConfig, SpringDocConfigProperties springDocConfigProperties)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
protected void buildConfigUrl(String contextPath, org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)
protected org.springframework.web.util.UriComponentsBuilder getUriComponentsBuilder(String sbUrl)
protected abstract void calculateOauth2RedirectUrl(org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)
protected abstract void calculateUiRootPath(StringBuilder... sbUrls)
Copyright © 2020. All rights reserved.