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 Details

    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
      The Application context.
    • handlerMethods

      protected Map handlerMethods
      The Handler methods.
  • Constructor Details

    • SpringWebProvider

      public SpringWebProvider()
  • Method Details

    • 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 interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException