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
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
The Application context.protected Map
The Handler methods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
findPathPrefix
(SpringDocConfigProperties springDocConfigProperties) Find path prefix string.getActivePatterns
(Object requestMappingInfo) Gets active patterns.abstract Map
Gets handler methods.void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext)
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContextThe Application context. -
handlerMethods
The Handler methods.
-
-
Constructor Details
-
SpringWebProvider
public SpringWebProvider()
-
-
Method Details
-
getHandlerMethods
Gets handler methods.- Returns:
- the handler methods
-
findPathPrefix
Find path prefix string.- Parameters:
springDocConfigProperties
- the spring doc config properties- Returns:
- the string
-
getActivePatterns
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
-