Package org.springdoc.webflux.ui
Class SwaggerWelcomeCommon
- java.lang.Object
-
- org.springdoc.ui.AbstractSwaggerWelcome
-
- org.springdoc.webflux.ui.SwaggerWelcomeCommon
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
SwaggerWelcomeActuator
,SwaggerWelcomeWebFlux
public abstract class SwaggerWelcomeCommon extends org.springdoc.ui.AbstractSwaggerWelcome
The type Swagger welcome common.- Author:
- bnasslashen
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.web.util.UriComponentsBuilder
oauthPrefix
The Oauth prefix.protected String
webJarsPrefixUrl
The Web jars prefix url.
-
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 Map<String,Object>
getSwaggerUiConfig(org.springframework.http.server.reactive.ServerHttpRequest request)
Gets swagger ui config.protected reactor.core.publisher.Mono<Void>
redirectToUi(org.springframework.http.server.reactive.ServerHttpRequest request, org.springframework.http.server.reactive.ServerHttpResponse response)
Redirect to ui mono.
-
-
-
Field Detail
-
webJarsPrefixUrl
protected String webJarsPrefixUrl
The Web jars prefix url.
-
oauthPrefix
protected org.springframework.web.util.UriComponentsBuilder oauthPrefix
The Oauth prefix.
-
-
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 reactor.core.publisher.Mono<Void> redirectToUi(org.springframework.http.server.reactive.ServerHttpRequest request, org.springframework.http.server.reactive.ServerHttpResponse response)
Redirect to ui mono.- Parameters:
request
- the requestresponse
- the response- Returns:
- the mono
-
-