ifs-web-service/ifs-web-core/src/main/java/org/innovateuk/ifs/util/ThymeleafUtil.java
/**
     * Gets the uri for used for form posts.
     *
     * @param request
     * @return
     */
Gets the uri for used for form posts.
@param request
@return
Gets the uri for used for form posts . @param request @return
public String formPostUri(final HttpServletRequest request) {
        if (request == null) {
            throw new IllegalArgumentException("Cannot determine request URI with query string for null request.");
        }
        LOG.debug("Creating URI for request " + request.getClass() + " with URI " + request.getRequestURI());
        return UriComponentsBuilder.fromPath(request.getServletPath()).build().normalize().toUriString();
    }
public String formPostUri ( final HttpServletRequest request ) { if ( request == null ) { throw new IllegalArgumentException ( "Cannot determine request URI with query string for null request." ) ; } LOG . debug ( "Creating URI for request " + request . getClass ( ) + " with URI " + request . getRequestURI ( ) ) ; return UriComponentsBuilder . fromPath ( request . getServletPath ( ) ) . build ( ) . normalize ( ) . toUriString ( ) ; }
Gets the uri for used for form posts.
Gets the uri for used for form posts .