Package org.springdoc.core.providers
Class SpringWebProvider
- java.lang.Object
-
- org.springdoc.core.providers.SpringWebProvider
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public abstract class SpringWebProvider extends Object implements org.springframework.context.ApplicationContextAware
The type Spring web provider.- Author:
- bnasslahsen
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.context.ApplicationContext
applicationContext
The Application context.protected Map
handlerMethods
The Handler methods.
-
Constructor Summary
Constructors Constructor Description SpringWebProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
findPathPrefix(SpringDocConfigProperties springDocConfigProperties)
Find path prefix string.abstract Set<String>
getActivePatterns(Object requestMappingInfo)
Gets active patterns.abstract Map
getHandlerMethods()
Gets handler methods.void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Field Detail
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
The Application context.
-
handlerMethods
protected Map handlerMethods
The Handler methods.
-
-
Method Detail
-
getHandlerMethods
public abstract Map getHandlerMethods()
Gets handler methods.- Returns:
- the handler methods
-
findPathPrefix
public abstract String findPathPrefix(SpringDocConfigProperties springDocConfigProperties)
Find path prefix string.- Parameters:
springDocConfigProperties
- the spring doc config properties- Returns:
- the string
-
getActivePatterns
public abstract Set<String> getActivePatterns(Object requestMappingInfo)
Gets active patterns.- Parameters:
requestMappingInfo
- the request mapping info- Returns:
- the active patterns
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-