Class DeviceDelegatingViewResolverProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.mobile.DeviceDelegatingViewResolverProperties
@ConfigurationProperties(prefix="spring.mobile.devicedelegatingviewresolver") public class DeviceDelegatingViewResolverProperties extends Object
Properties for device view resolver.- Since:
- 1.2.0
Constructor Summary
Constructors Constructor Description DeviceDelegatingViewResolverProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMobilePrefix()StringgetMobileSuffix()StringgetNormalPrefix()StringgetNormalSuffix()StringgetTabletPrefix()StringgetTabletSuffix()booleanisEnableFallback()voidsetEnableFallback(boolean enableFallback)voidsetMobilePrefix(String mobilePrefix)voidsetMobileSuffix(String mobileSuffix)voidsetNormalPrefix(String normalPrefix)voidsetNormalSuffix(String normalSuffix)voidsetTabletPrefix(String tabletPrefix)voidsetTabletSuffix(String tabletSuffix)
Constructor Detail
DeviceDelegatingViewResolverProperties
public DeviceDelegatingViewResolverProperties()
Method Detail
setEnableFallback
public void setEnableFallback(boolean enableFallback)
isEnableFallback
public boolean isEnableFallback()
getNormalPrefix
public String getNormalPrefix()
setNormalPrefix
public void setNormalPrefix(String normalPrefix)
getNormalSuffix
public String getNormalSuffix()
setNormalSuffix
public void setNormalSuffix(String normalSuffix)
getMobilePrefix
public String getMobilePrefix()
setMobilePrefix
public void setMobilePrefix(String mobilePrefix)
getMobileSuffix
public String getMobileSuffix()
setMobileSuffix
public void setMobileSuffix(String mobileSuffix)
getTabletPrefix
public String getTabletPrefix()
setTabletPrefix
public void setTabletPrefix(String tabletPrefix)
getTabletSuffix
public String getTabletSuffix()
setTabletSuffix
public void setTabletSuffix(String tabletSuffix)