/** * Discover if the given URL is mapped by any {@link UrlMapping} specified in the current configuration. * * @return True if the URL is mapped, false if not. */ public boolean isURLMapped(final URL url) { UrlMapping mapping = getMappingForUrl(url); return mapping != null; }
/** * Get the {@link UrlMapping} representing the current request. */ public UrlMapping getCurrentMapping() { if (currentMapping == null) { currentMapping = config.getMappingForUrl(requestURL); } return currentMapping; }
/** * Get the {@link UrlMapping} representing the current request. */ public UrlMapping getCurrentMapping() { if (currentMapping == null) { currentMapping = config.getMappingForUrl(requestURL); } return currentMapping; }
/** * Get the {@link UrlMapping} representing the current request. */ public UrlMapping getCurrentMapping() { if (currentMapping == null) { currentMapping = config.getMappingForUrl(requestURL); } return currentMapping; }
/** * Discover if the given URL is mapped by any {@link UrlMapping} specified in the current configuration. * * @return True if the URL is mapped, false if not. */ public boolean isURLMapped(final URL url) { UrlMapping mapping = getMappingForUrl(url); return mapping != null; }
/** * Discover if the given URL is mapped by any {@link UrlMapping} specified in the current configuration. * * @return True if the URL is mapped, false if not. */ public boolean isURLMapped(final URL url) { UrlMapping mapping = getMappingForUrl(url); return mapping != null; }
/** * Get the {@link UrlMapping} representing the current request. */ public UrlMapping getCurrentMapping() { if (currentMapping == null) { currentMapping = config.getMappingForUrl(requestURL); } return currentMapping; }
/** * Discover if the given URL is mapped by any {@link UrlMapping} specified in the current configuration. * * @return True if the URL is mapped, false if not. */ public boolean isURLMapped(final URL url) { UrlMapping mapping = getMappingForUrl(url); return mapping != null; }
if (!isUrlMappingForward(req)) mapping = getConfig().getMappingForUrl(url);
if (!isUrlMappingForward(req)) mapping = getConfig().getMappingForUrl(url);
if (!isUrlMappingForward(req)) mapping = getConfig().getMappingForUrl(url);