@Test public void testShouldDetectHeaderFields() throws Exception { assertThat(decoder .decode("HEADER.FIELDS ()")).isEqualTo(SectionType.HEADER_FIELDS); assertThat(decoder .decode("4.HEADER.FIELDS ()")).isEqualTo(SectionType.HEADER_FIELDS); assertThat(decoder .decode("10.1.HEADER.FIELDS ()")).isEqualTo(SectionType.HEADER_FIELDS); assertThat(decoder .decode("8.3.5.11.HEADER.FIELDS ()")).isEqualTo(SectionType.HEADER_FIELDS); }
public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; }
FetchPartPathDecoder { public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; } }
FetchPartPathDecoder { public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; } FetchPartPathDecoder(); }
FetchPartPathDecoder { public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; } FetchPartPathDecoder(); SectionType decode(CharSequence sectionSpecification); final int[] getPath(); final SectionType getSpecifier(); final List<String> getNames(); }
FetchPartPathDecoder { public SectionType decode(CharSequence sectionSpecification) throws DecodingException { init(); sectionType = decode(0, sectionSpecification); prunePath(); return sectionType; } FetchPartPathDecoder(); SectionType decode(CharSequence sectionSpecification); final int[] getPath(); final SectionType getSpecifier(); final List<String> getNames();  }