question: static String parseAuthority ( String uriString , int ssi ) { int length = uriString . length ( ) ; if ( length > ssi + 2 && uriString . charAt ( ssi + 1 ) == '/' && uriString . charAt ( ssi + 2 ) == '/' ) { int end = ssi + 3 ; LOOP : while ( end < length ) { switch ( uriString . charAt ( end ) ) { case '/' : case '?' : case '#' : break LOOP ; } end ++ ; } return uriString . substring ( ssi + 3 , end ) ; } else { return null ; } }
target:  Parses an authority out of the given URI string.