类 RegistrationWebEndpointMappingFactory<R extends javax.servlet.Registration>

    • 字段详细资料

      • servletContext

        protected final javax.servlet.ServletContext servletContext
    • 构造器详细资料

      • RegistrationWebEndpointMappingFactory

        public RegistrationWebEndpointMappingFactory​(javax.servlet.ServletContext servletContext)
    • 方法详细资料

      • supports

        public final boolean supports​(java.lang.String endpoint)
        从接口复制的说明: WebEndpointMappingFactory
        Current factory supports the specified endpoint or not
        参数:
        endpoint - could be one of these :
        • ServletRegistration
        • FilterRegistration
        • org.springframework.web.servlet.mvc.method.RequestMappingInfo
        • org.springframework.web.reactive.result.method.RequestMappingInfo
        返回:
        true if supports, false otherwise
      • getRegistration

        @NonNull
        protected abstract R getRegistration​(java.lang.String name,
                                             javax.servlet.ServletContext servletContext)
        参数:
        name - the name of Registration
        servletContext - ServletContext
        返回:
        The Registration
      • getPatterns

        @NonNull
        protected abstract java.util.Collection<java.lang.String> getPatterns​(R registration)
        Get the patterns of Registration
        参数:
        registration - Registration
        返回:
        non-null