@Test public void resolveViewNameMobileDeviceMobileSuffixRedirect() throws Exception { this.viewName = "redirect:about"; device.setDeviceType(DeviceType.MOBILE); request.setAttribute(DeviceUtils.CURRENT_DEVICE_ATTRIBUTE, device); viewResolver.setMobileSuffix(".mob"); replayMocks("redirect:about"); }
public void setMobileSuffix(String mobileSuffix) { this.mobileSuffix = (mobileSuffix != null ? mobileSuffix : ""); }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setMobileSuffix(String mobileSuffix) { this.mobileSuffix = (mobileSuffix != null ? mobileSuffix : ""); } }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setMobileSuffix(String mobileSuffix) { this.mobileSuffix = (mobileSuffix != null ? mobileSuffix : ""); } LiteDeviceDelegatingViewResolver(ViewResolver delegate); }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setMobileSuffix(String mobileSuffix) { this.mobileSuffix = (mobileSuffix != null ? mobileSuffix : ""); } LiteDeviceDelegatingViewResolver(ViewResolver delegate); void setNormalPrefix(String normalPrefix); void setMobilePrefix(String mobilePrefix); void setTabletPrefix(String tabletPrefix); void setNormalSuffix(String normalSuffix); void setMobileSuffix(String mobileSuffix); void setTabletSuffix(String tabletSuffix); }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setMobileSuffix(String mobileSuffix) { this.mobileSuffix = (mobileSuffix != null ? mobileSuffix : ""); } LiteDeviceDelegatingViewResolver(ViewResolver delegate); void setNormalPrefix(String normalPrefix); void setMobilePrefix(String mobilePrefix); void setTabletPrefix(String tabletPrefix); void setNormalSuffix(String normalSuffix); void setMobileSuffix(String mobileSuffix); void setTabletSuffix(String tabletSuffix);  }