Home | History | Annotate | Download | only in message

Lines Matching refs:Character

210      * @param start     the index of the first token character
211 * @param end the index after the last token character
251 ("Invalid character before token (pos " + from +
306 ("Invalid character after token (pos " + from +
320 * @param from the position of the first character of the token
322 * @return the position after the last character of the token.
324 * point to a token character in the current header value.
343 * Checks whether a character is a token separator.
346 * also separate tokens, but that is not a character check.
348 * @param ch the character to check
350 * @return <code>true</code> if the character is a token separator,
359 * Checks whether a character is a whitespace character.
364 * @param ch the character to check
366 * @return <code>true</code> if the character is whitespace,
371 // we do not use Character.isWhitspace(ch) here, since that allows
373 return ((ch == '\t') || Character.isSpaceChar(ch));
378 * Checks whether a character is a valid token character.
381 * defines tokens only for the US-ASCII character set, this
382 * method extends the definition to other character sets.
384 * @param ch the character to check
386 * @return <code>true</code> if the character is a valid token start,
392 if (Character.isLetterOrDigit(ch))
396 if (Character.isISOControl(ch))
403 // RFC 2616, section 2.2 defines a token character as
414 * Checks whether a character is an HTTP separator.
417 * separators beyond the US-ASCII character set, override this method.
419 * @param ch the character to check
421 * @return <code>true</code> if the character is an HTTP separator