@Test public void getMethod() { final String expected = "HEAD"; final SlingHttpServletRequest request = new AssetRenditionDownloadRequest( ctx.request(), expected, resource, new String[]{}, "html", "/my/suffix"); final String actual = request.getMethod(); assertEquals(expected, actual); }
@Override public String getMethod() { return method; }
AssetRenditionDownloadRequest extends SlingHttpServletRequestWrapper { @Override public String getMethod() { return method; } }
AssetRenditionDownloadRequest extends SlingHttpServletRequestWrapper { @Override public String getMethod() { return method; } AssetRenditionDownloadRequest(final SlingHttpServletRequest wrappedRequest,
                                         final String method,
                                         final Resource resource,
                                         final String[] selectors,
                                         final String extension,
                                         final String suffix); }
AssetRenditionDownloadRequest extends SlingHttpServletRequestWrapper { @Override public String getMethod() { return method; } 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 String getMethod() { return method; } 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();  }