类 DeviceDelegatingViewResolverFactory

    • 方法详细资料

      • createViewResolver

        public org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver createViewResolver​(org.springframework.web.servlet.ViewResolver delegate,
                                                                                                          int delegatingOrder)
        Create a LiteDeviceDelegatingViewResolver delegating to the specified ViewResolver.
        参数:
        delegate - the view resolver to delegate to
        delegatingOrder - the order of the LiteDeviceDelegatingViewResolver
        返回:
        a LiteDeviceDelegatingViewResolver handling the specified resolver
      • createViewResolver

        public org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver createViewResolver​(org.springframework.web.servlet.ViewResolver delegate)
        Create a LiteDeviceDelegatingViewResolver delegating to the specified ViewResolver and computing a sensible order for it. The specified ViewResolver should implement Ordered, consider using createViewResolver(ViewResolver, int) if that's not the case.
        参数:
        delegate - the view resolver to delegate to
        返回:
        a LiteDeviceDelegatingViewResolver handling the specified resolver