skipWhitespaceAndCommas(header); peek = readToken(header); if (peek == null) return; boolean commaPrefixed = skipWhitespaceAndCommas(header); peek = readToken(header); if (peek == null) { boolean commaSuffixed = skipWhitespaceAndCommas(header); if (peek == null) { peek = readToken(header); if (skipWhitespaceAndCommas(header)) break; // We peeked a scheme name followed by ','. eqCount = skipAll(header, (byte) '='); if (skipWhitespaceAndCommas(header)) return; // Unexpected ','. peek = null; if (replaced != null) return; // Unexpected duplicate parameter. if (!skipWhitespaceAndCommas(header) && !header.exhausted()) return; // Expected ',' or EOF.
skipWhitespaceAndCommas(header); peek = readToken(header); if (peek == null) return; boolean commaPrefixed = skipWhitespaceAndCommas(header); peek = readToken(header); if (peek == null) { boolean commaSuffixed = skipWhitespaceAndCommas(header); if (peek == null) { peek = readToken(header); if (skipWhitespaceAndCommas(header)) break; // We peeked a scheme name followed by ','. eqCount = skipAll(header, (byte) '='); if (skipWhitespaceAndCommas(header)) return; // Unexpected ','. peek = null; if (replaced != null) return; // Unexpected duplicate parameter. if (!skipWhitespaceAndCommas(header) && !header.exhausted()) return; // Expected ',' or EOF.
skipWhitespaceAndCommas(header); peek = readToken(header); if (peek == null) return; boolean commaPrefixed = skipWhitespaceAndCommas(header); peek = readToken(header); if (peek == null) { boolean commaSuffixed = skipWhitespaceAndCommas(header); if (peek == null) { peek = readToken(header); if (skipWhitespaceAndCommas(header)) break; // We peeked a scheme name followed by ','. eqCount = skipAll(header, (byte) '='); if (skipWhitespaceAndCommas(header)) return; // Unexpected ','. peek = null; if (replaced != null) return; // Unexpected duplicate parameter. if (!skipWhitespaceAndCommas(header) && !header.exhausted()) return; // Expected ',' or EOF.