@Test public void resolveViewNameMobileDeviceMobilePrefixForwardToEmpty() throws Exception { this.viewName = "forward:"; device.setDeviceType(DeviceType.MOBILE); request.setAttribute(DeviceUtils.CURRENT_DEVICE_ATTRIBUTE, device); viewResolver.setMobilePrefix("mobile/"); replayMocks("forward:"); }
public void setMobilePrefix(String mobilePrefix) { this.mobilePrefix = (mobilePrefix != null ? mobilePrefix : ""); }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setMobilePrefix(String mobilePrefix) { this.mobilePrefix = (mobilePrefix != null ? mobilePrefix : ""); } }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setMobilePrefix(String mobilePrefix) { this.mobilePrefix = (mobilePrefix != null ? mobilePrefix : ""); } LiteDeviceDelegatingViewResolver(ViewResolver delegate); }
LiteDeviceDelegatingViewResolver extends AbstractDeviceDelegatingViewResolver { public void setMobilePrefix(String mobilePrefix) { this.mobilePrefix = (mobilePrefix != null ? mobilePrefix : ""); } 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 setMobilePrefix(String mobilePrefix) { this.mobilePrefix = (mobilePrefix != null ? mobilePrefix : ""); } 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);  }