test_class.declarator: headersParser = new HeadersParser()
test_class.modifier: private static
test_class.original_string: private static Parser<Headers> headersParser = new HeadersParser();
test_class.type: Parser<Headers>
test_class.var_name: headersParser
test_class.file: http/src/test/java/ro/polak/http/protocol/parser/impl/HeadersParserTest.java
test_class.identifier: HeadersParserTest
test_case.body: @Test
      public void shouldIgnoreMultipleEmptyNewlines() throws MalformedInputException {
          Headers headers = headersParser.parse("Cookie: ABCD\r\n\r\n\r\nTest: XYZ\r\nServer: 1\r\n\r\n\r\n\r\n");
  
          assertThat(headers.containsHeader("Cookie"), is(true));
          assertThat(headers.containsHeader("Test"), is(true));
          assertThat(headers.containsHeader("Server"), is(true));
  
          assertThat(headers.getHeader("Cookie"), is("ABCD"));
          assertThat(headers.getHeader("Test"), is("XYZ"));
          assertThat(headers.getHeader("Server"), is("1"));
      }
test_case.class_method_signature: HeadersParserTest.shouldIgnoreMultipleEmptyNewlines()
test_case.full_signature: @Test public void shouldIgnoreMultipleEmptyNewlines()
test_case.identifier: shouldIgnoreMultipleEmptyNewlines
test_case.invocations: parse assertThat containsHeader is assertThat containsHeader is assertThat containsHeader is assertThat getHeader is assertThat getHeader is assertThat getHeader is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldIgnoreMultipleEmptyNewlines()
focal_class.declarator: NEW_LINE = "\r\n"
focal_class.modifier: private static final
focal_class.original_string: private static final String NEW_LINE = "\r\n";
focal_class.type: String
focal_class.var_name: NEW_LINE
focal_class.declarator: SPACE = ' '
focal_class.modifier: private static final
focal_class.original_string: private static final char SPACE = ' ';
focal_class.type: char
focal_class.var_name: SPACE
focal_class.declarator: TAB = '\t'
focal_class.modifier: private static final
focal_class.original_string: private static final char TAB = '\t';
focal_class.type: char
focal_class.var_name: TAB
focal_class.declarator: VALUE_SEPARATOR = ":"
focal_class.modifier: private static final
focal_class.original_string: private static final String VALUE_SEPARATOR = ":";
focal_class.type: String
focal_class.var_name: VALUE_SEPARATOR
focal_class.declarator: COMA = ','
focal_class.modifier: private static final
focal_class.original_string: private static final char COMA = ',';
focal_class.type: char
focal_class.var_name: COMA
focal_class.declarator: LTRIM_PATTERN = Pattern.compile("^\\s+")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern LTRIM_PATTERN = Pattern.compile("^\\s+");
focal_class.type: Pattern
focal_class.var_name: LTRIM_PATTERN
focal_class.file: http/src/main/java/ro/polak/http/protocol/parser/impl/HeadersParser.java
focal_class.identifier: HeadersParser
focal_class.interfaces: implements Parser<Headers>
focal_class.class_method_signature: HeadersParser.parse(final String headersString)
focal_class.full_signature: @Override public Headers parse(final String headersString)
focal_class.identifier: parse
focal_class.modifiers: @Override public
focal_class.parameters: (final String headersString)
focal_class.return: Headers
focal_class.signature: Headers parse(final String headersString)
focal_class.class_method_signature: HeadersParser.parse(final String headersString, final boolean joinRepeatingHeaders)
focal_class.full_signature: public Headers parse(final String headersString, final boolean joinRepeatingHeaders)
focal_class.identifier: parse
focal_class.modifiers: public
focal_class.parameters: (final String headersString, final boolean joinRepeatingHeaders)
focal_class.return: Headers
focal_class.signature: Headers parse(final String headersString, final boolean joinRepeatingHeaders)
focal_class.class_method_signature: HeadersParser.ltrim(final String text)
focal_class.full_signature: private String ltrim(final String text)
focal_class.identifier: ltrim
focal_class.modifiers: private
focal_class.parameters: (final String text)
focal_class.return: String
focal_class.signature: String ltrim(final String text)
focal_method.body: @Override
      public Headers parse(final String headersString) throws MalformedInputException {
          return parse(headersString, true);
      }
focal_method.class_method_signature: HeadersParser.parse(final String headersString)
focal_method.full_signature: @Override public Headers parse(final String headersString)
focal_method.identifier: parse
focal_method.invocations: parse
focal_method.modifiers: @Override public
focal_method.parameters: (final String headersString)
focal_method.return: Headers
focal_method.signature: Headers parse(final String headersString)