Class SmartWebEndpointMappingFactory

    • Constructor Detail

      • SmartWebEndpointMappingFactory

        public SmartWebEndpointMappingFactory​(@Nullable
                                              org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
    • Method Detail

      • create

        public java.util.Optional<WebEndpointMapping<java.lang.Object>> create​(java.lang.Object endpoint)
        Description copied from interface: WebEndpointMappingFactory
        Create the instance of WebEndpointMapping
        Specified by:
        create in interface WebEndpointMappingFactory<java.lang.Object>
        Parameters:
        endpoint - could be one of these :
        • ServletRegistration
        • FilterRegistration
        • org.springframework.web.servlet.mvc.method.RequestMappingInfo
        • org.springframework.web.reactive.result.method.RequestMappingInfo
        Returns:
        WebEndpointMapping if present