Package org.springdoc.webmvc.ui
Class SwaggerWelcomeCommon
- java.lang.Object
-
- org.springdoc.ui.AbstractSwaggerWelcome
-
- org.springdoc.webmvc.ui.SwaggerWelcomeCommon
-
- Direct Known Subclasses:
SwaggerWelcomeActuator,SwaggerWelcomeWebMvc
public abstract class SwaggerWelcomeCommon extends org.springdoc.ui.AbstractSwaggerWelcomeThe type Swagger welcome common.- Author:
- bnasslashen
-
-
Constructor Summary
Constructors Constructor Description SwaggerWelcomeCommon(org.springdoc.core.SwaggerUiConfigProperties swaggerUiConfig, org.springdoc.core.SpringDocConfigProperties springDocConfigProperties, org.springdoc.core.SwaggerUiConfigParameters swaggerUiConfigParameters)Instantiates a new Abstract swagger welcome.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalculateOauth2RedirectUrl(org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)protected Map<String,Object>openapiJson(javax.servlet.http.HttpServletRequest request)Openapi json map.protected org.springframework.http.ResponseEntity<Void>redirectToUi(javax.servlet.http.HttpServletRequest request)Redirect to ui response entity.
-
-
-
Constructor Detail
-
SwaggerWelcomeCommon
public SwaggerWelcomeCommon(org.springdoc.core.SwaggerUiConfigProperties swaggerUiConfig, org.springdoc.core.SpringDocConfigProperties springDocConfigProperties, org.springdoc.core.SwaggerUiConfigParameters swaggerUiConfigParameters)Instantiates a new Abstract swagger welcome.- Parameters:
swaggerUiConfig- the swagger ui configspringDocConfigProperties- the spring doc config propertiesswaggerUiConfigParameters- the swagger ui config parameters
-
-
Method Detail
-
redirectToUi
protected org.springframework.http.ResponseEntity<Void> redirectToUi(javax.servlet.http.HttpServletRequest request)
Redirect to ui response entity.- Parameters:
request- the request- Returns:
- the response entity
-
openapiJson
protected Map<String,Object> openapiJson(javax.servlet.http.HttpServletRequest request)
Openapi json map.- Parameters:
request- the request- Returns:
- the map
-
calculateOauth2RedirectUrl
protected void calculateOauth2RedirectUrl(org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)
- Specified by:
calculateOauth2RedirectUrlin classorg.springdoc.ui.AbstractSwaggerWelcome
-
-