src/main/java/de/qaware/xff/util/uri/UriComponentsBuilder.java
/**
     * Set the URI port. Passing {@code -1} will clear the port of this builder.
     *
     * @param port the URI port
     * @return this UriComponentsBuilder
     */
Set the URI port. Passing  -1 will clear the port of this builder.
@param port the URI port
@return this UriComponentsBuilder
Set the URI port . Passing - 1 will clear the port of this builder . @param port the URI port @return this UriComponentsBuilder
public UriComponentsBuilder port(int port) {
        Validate.isTrue(port >= -1, "Port must be >= -1");
        this.port = String.valueOf(port);
        resetSchemeSpecificPart();
        return this;
    }
public UriComponentsBuilder port ( int port ) { Validate . isTrue ( port >= - 1 , "Port must be >= -1" ) ; this . port = String . valueOf ( port ) ; resetSchemeSpecificPart ( ) ; return this ; }
Set the URI port.
Set the URI port .