String function ( String arg0 ) { if ( arg0 != null && ! arg0 . startsWith ( "srini_string" ) ) { return getHttpPort ( ) ; } else { return getHttpsPort ( ) ; } }
gets the port number for the given protocol . if the protocol is null or not one of http or https returns the https port number . concode_field_sep String PORT concode_elem_sep String PROTOCOL concode_elem_sep String HOST concode_elem_sep String DEFAULT_HTTPS_PORT concode_elem_sep String DEFAULT_HOST concode_elem_sep String HTTP_PORT concode_elem_sep String HTTPS_PORT concode_elem_sep String DEFAULT_PROTOCOL concode_elem_sep String ROOT_CONTEXT concode_elem_sep String DEFAULT_HTTP_PORT concode_field_sep String getBaseUrl concode_elem_sep String getBaseUrl concode_elem_sep String getHttpPort concode_elem_sep String getHttpsPort concode_elem_sep String getProtocol concode_elem_sep String getRootContext concode_elem_sep String getHost concode_elem_sep String constructUrl concode_elem_sep String constructUrl concode_elem_sep String constructUrl concode_elem_sep String constructUrl