@Test public void getResource() { final Resource expected = resource; final SlingHttpServletRequest request = new AssetRenditionDownloadRequest( ctx.request(), "GET", expected, new String[]{}, "html", "/my/suffix"); final Resource actual = request.getResource(); assertEquals(expected, actual); }
@Override public Resource getResource() { return resource; }
AssetRenditionDownloadRequest extends SlingHttpServletRequestWrapper { @Override public Resource getResource() { return resource; } }
AssetRenditionDownloadRequest extends SlingHttpServletRequestWrapper { @Override public Resource getResource() { return resource; } AssetRenditionDownloadRequest(final SlingHttpServletRequest wrappedRequest,
                                         final String method,
                                         final Resource resource,
                                         final String[] selectors,
                                         final String extension,
                                         final String suffix); }
AssetRenditionDownloadRequest extends SlingHttpServletRequestWrapper { @Override public Resource getResource() { return resource; } AssetRenditionDownloadRequest(final SlingHttpServletRequest wrappedRequest,
                                         final String method,
                                         final Resource resource,
                                         final String[] selectors,
                                         final String extension,
                                         final String suffix); @Override Object getAttribute(String name); @Override Resource getResource(); @Override String getMethod(); @Override RequestPathInfo getRequestPathInfo(); }
AssetRenditionDownloadRequest extends SlingHttpServletRequestWrapper { @Override public Resource getResource() { return resource; } AssetRenditionDownloadRequest(final SlingHttpServletRequest wrappedRequest,
                                         final String method,
                                         final Resource resource,
                                         final String[] selectors,
                                         final String extension,
                                         final String suffix); @Override Object getAttribute(String name); @Override Resource getResource(); @Override String getMethod(); @Override RequestPathInfo getRequestPathInfo();  }