common/src/main/java/HTTPClient/Util.java
/**
     * returns the position of the first space character in a char array
     * starting a position pos.
     *
     * @param str the char array
     * @param pos the position to start looking
     * @return the position of the first space character, or the length of
     *         the string if not found
     */
returns the position of the first space character in a char array
starting a position pos.

@param str the char array
@param pos the position to start looking
@return the position of the first space character, or the length of
the string if not found
returns the position of the first space character in a char array starting a position pos . @param str the char array @param pos the position to start looking @return the position of the first space character or the length of the string if not found
final static int findSpace(char[] str, int pos)
    {
	int len = str.length;
	while (pos < len  &&  !Character.isWhitespace(str[pos]))  pos++;
	return pos;
    }
final static int findSpace ( char [ ] str , int pos ) { int len = str . length ; while ( pos < len && ! Character . isWhitespace ( str [ pos ] ) ) pos ++ ; return pos ; }
returns the position of the first space character in a char array
 starting a position pos.
returns the position of the first space character in a char array starting a position pos .