Home | History | Annotate | Download | only in message

Lines Matching refs:ch

247                 final char ch = this.currentHeader.charAt(from);
248 if (isTokenSeparator(ch) || isWhitespace(ch)) {
300 final char ch = this.currentHeader.charAt(from);
301 if (isTokenSeparator(ch)) {
303 } else if (isWhitespace(ch)) {
305 } else if (isTokenChar(ch)) {
353 * @param ch the character to check
358 protected boolean isTokenSeparator(char ch) {
359 return (ch == ',');
369 * @param ch the character to check
374 protected boolean isWhitespace(char ch) {
376 // we do not use Character.isWhitspace(ch) here, since that allows
378 return ((ch == '\t') || Character.isSpaceChar(ch));
389 * @param ch the character to check
394 protected boolean isTokenChar(char ch) {
397 if (Character.isLetterOrDigit(ch))
401 if (Character.isISOControl(ch))
405 if (isHttpSeparator(ch))
424 * @param ch the character to check
428 protected boolean isHttpSeparator(char ch) {
429 return (HTTP_SEPARATORS.indexOf(ch) >= 0);