クラス PathPatternRequestMatcherBuilderFactoryBean

java.lang.ObjectSE
org.springframework.security.config.web.PathPatternRequestMatcherBuilderFactoryBean
実装されているすべてのインターフェース:
org.springframework.beans.factory.Awareorg.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.factory.BeanNameAwareorg.springframework.beans.factory.FactoryBean<PathPatternRequestMatcher.Builder>org.springframework.context.ApplicationContextAware

public final class PathPatternRequestMatcherBuilderFactoryBean extends ObjectSE implements org.springframework.beans.factory.FactoryBean<PathPatternRequestMatcher.Builder>, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.BeanFactoryAware
このファクトリ Bean を使用して、AuthorizeHttpRequestsConfigurer および DSL の他の部分でリクエストマッチャーを作成するために使用される PathPatternRequestMatcher.Builder Bean を構成します。
導入:
6.5
  • コンストラクターの詳細

    • PathPatternRequestMatcherBuilderFactoryBean

      public PathPatternRequestMatcherBuilderFactoryBean()
      デフォルトの PathPatternParser を使用してこのファクトリ Bean を構築します

      Spring MVC を使用している場合は、Spring MVC インスタンスが使用されます。

    • PathPatternRequestMatcherBuilderFactoryBean

      public PathPatternRequestMatcherBuilderFactoryBean(org.springframework.web.util.pattern.PathPatternParser parser)
      この PathPatternParser を使用してこのファクトリ Bean を構築します。

      Spring MVC を使用している場合、このコンストラクターを呼び出すのはおそらく正しくありません。代わりに、デフォルトのコンストラクターを呼び出してください。

      パラメーター:
      parser - 使用する PathPatternParser 
  • メソッドの詳細

    • getObject

      次で指定:
      インターフェース org.springframework.beans.factory.FactoryBean<PathPatternRequestMatcher.Builder>getObject 
      例外:
      ExceptionSE
    • getObjectType

      public ClassSE<?> getObjectType()
      次で指定:
      インターフェース org.springframework.beans.factory.FactoryBean<PathPatternRequestMatcher.Builder>getObjectType 
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
      次で指定:
      インターフェース org.springframework.context.ApplicationContextAwaresetApplicationContext 
      例外:
      org.springframework.beans.BeansException
    • setBeanName

      public void setBeanName(@NonNull StringSE name)
      次で指定:
      インターフェース org.springframework.beans.factory.BeanNameAwaresetBeanName 
    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
      次で指定:
      インターフェース org.springframework.beans.factory.BeanFactoryAwaresetBeanFactory 
      例外:
      org.springframework.beans.BeansException