public class DeviceDelegatingViewResolverFactory extends Object
LiteDeviceDelegatingViewResolver
that applies customizations of
DeviceDelegatingViewResolverProperties
.Constructor and Description |
---|
DeviceDelegatingViewResolverFactory(DeviceDelegatingViewResolverProperties properties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver |
createViewResolver(ViewResolver delegate)
Create a
LiteDeviceDelegatingViewResolver delegating to the specified
ViewResolver and computing a sensible order for it. |
org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver |
createViewResolver(ViewResolver delegate,
int delegatingOrder)
Create a
LiteDeviceDelegatingViewResolver delegating to the specified
ViewResolver . |
public DeviceDelegatingViewResolverFactory(DeviceDelegatingViewResolverProperties properties)
public org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver createViewResolver(ViewResolver delegate, int delegatingOrder)
LiteDeviceDelegatingViewResolver
delegating to the specified
ViewResolver
.delegate
- the view resolver to delegate todelegatingOrder
- the order of the LiteDeviceDelegatingViewResolver
LiteDeviceDelegatingViewResolver
handling the specified resolverpublic org.springframework.mobile.device.view.LiteDeviceDelegatingViewResolver createViewResolver(ViewResolver delegate)
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 toLiteDeviceDelegatingViewResolver
handling the specified resolverCopyright © 2016 Pivotal Software, Inc.. All rights reserved.