@Test void shouldGetExistingResource() { assertSame(resource, GraniteUi.getContentResourceOrParent(request)); }
public static @Nullable Resource getContentResourceOrParent(@NotNull HttpServletRequest request) { String contentPath = getContentPath(request); return getContentResourceOrParentFromPath((SlingHttpServletRequest)request, contentPath); }
GraniteUi { public static @Nullable Resource getContentResourceOrParent(@NotNull HttpServletRequest request) { String contentPath = getContentPath(request); return getContentResourceOrParentFromPath((SlingHttpServletRequest)request, contentPath); } }
GraniteUi { public static @Nullable Resource getContentResourceOrParent(@NotNull HttpServletRequest request) { String contentPath = getContentPath(request); return getContentResourceOrParentFromPath((SlingHttpServletRequest)request, contentPath); } private  GraniteUi(); }
GraniteUi { public static @Nullable Resource getContentResourceOrParent(@NotNull HttpServletRequest request) { String contentPath = getContentPath(request); return getContentResourceOrParentFromPath((SlingHttpServletRequest)request, contentPath); } private  GraniteUi(); static @Nullable Resource getContentResource(@NotNull HttpServletRequest request); static @Nullable Resource getContentResourceOrParent(@NotNull HttpServletRequest request); static @Nullable Page getContentPage(@NotNull HttpServletRequest request); static @Nullable String getExistingResourceType(@NotNull ResourceResolver resourceResolver, @NotNull String @NotNull... resourceTypes); }
GraniteUi { public static @Nullable Resource getContentResourceOrParent(@NotNull HttpServletRequest request) { String contentPath = getContentPath(request); return getContentResourceOrParentFromPath((SlingHttpServletRequest)request, contentPath); } private  GraniteUi(); static @Nullable Resource getContentResource(@NotNull HttpServletRequest request); static @Nullable Resource getContentResourceOrParent(@NotNull HttpServletRequest request); static @Nullable Page getContentPage(@NotNull HttpServletRequest request); static @Nullable String getExistingResourceType(@NotNull ResourceResolver resourceResolver, @NotNull String @NotNull... resourceTypes);  }