@Test public void resolveViewNameTabletDeviceTabletPrefixRedirectToRoot() throws Exception { this.viewName = "redirect:/"; device.setDeviceType(DeviceType.TABLET); request.setAttribute(DeviceUtils.CURRENT_DEVICE_ATTRIBUTE, device); viewResolver.setTabletPrefix("tablet/"); replayMocks("redirect:/"); }
public void setTabletPrefix(String tabletPrefix) { this.tabletPrefix = (tabletPrefix != null ? tabletPrefix : ""); }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setTabletPrefix(String tabletPrefix) { this.tabletPrefix = (tabletPrefix != null ? tabletPrefix : ""); } }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setTabletPrefix(String tabletPrefix) { this.tabletPrefix = (tabletPrefix != null ? tabletPrefix : ""); } LiteDeviceDelegatingViewResolver(ViewResolver delegate); }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setTabletPrefix(String tabletPrefix) { this.tabletPrefix = (tabletPrefix != null ? tabletPrefix : ""); } 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 setTabletPrefix(String tabletPrefix) { this.tabletPrefix = (tabletPrefix != null ? tabletPrefix : ""); } 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);  }