@Override public String getPathInfo() { return WroUtil.getPathInfoFromLocation(this, location); }
@Override public String getPathInfo() { return WroUtil.getPathInfoFromLocation(this, location); }
/** * Retrieve servletPath from a given location. * * @param location * where to search the servletPath. * @return ServletPath string value. */ public static String getServletPathFromLocation(final HttpServletRequest request, final String location) { return location.replace(getPathInfoFromLocation(request, location), ""); }
/** * Retrieve servletPath from a given location. * * @param location * where to search the servletPath. * @return ServletPath string value. */ public static String getServletPathFromLocation(final HttpServletRequest request, final String location) { return location.replace(getPathInfoFromLocation(request, location), StringUtils.EMPTY); }