public int getPublicPort() {
        if (publicPort == -1) {

            String sport = System.getenv("PUBLIC_WEB_PORT");

            if (!Str.isEmpty(sport)) {
                publicPort = Integer.parseInt(sport);
            }
        }

        if (publicPort == -1) {
            publicPort = getPort();
        }

        return publicPort;
    }
public int getPublicPort() {
        if (publicPort == -1) {

            String sport = System.getenv("PUBLIC_WEB_PORT");

            if (!Str.isEmpty(sport)) {
                publicPort = Integer.parseInt(sport);
            }
        }

        if (publicPort == -1) {
            publicPort = getPort();
        }

        return publicPort;
    }
public int getPublicPort ( ) { if ( publicPort == - 1 ) { String sport = System . getenv ( "PUBLIC_WEB_PORT" ) ; if ( ! Str . isEmpty ( sport ) ) { publicPort = Integer . parseInt ( sport ) ; } } if ( publicPort == - 1 ) { publicPort = getPort ( ) ; } return publicPort ; }
Get the public port for service meta generation (Swagger)

@return public port
Get the public port for service meta generation ( Swagger )