test_class.declarator: HEADER_DEFINITION = DittoHeaderDefinition.REQUESTED_ACKS
test_class.modifier: private static final
test_class.original_string: private static final DittoHeaderDefinition HEADER_DEFINITION = DittoHeaderDefinition.REQUESTED_ACKS;
test_class.type: DittoHeaderDefinition
test_class.var_name: HEADER_DEFINITION
test_class.declarator: headerDefinitions
test_class.modifier: private
test_class.original_string: private Map<String, HeaderDefinition> headerDefinitions;
test_class.type: Map<String, HeaderDefinition>
test_class.var_name: headerDefinitions
test_class.file: protocol-adapter/src/test/java/org/eclipse/ditto/protocoladapter/ReadJsonArrayHeadersFilterTest.java
test_class.identifier: ReadJsonArrayHeadersFilterTest
test_case.body: @Test
      public void filterJsonArrayValueBasedOnEmptyString() {
          final JsonArray emptyJsonArray = JsonArray.empty();
          final String expected = emptyJsonArray.toString();
  
          final ReadJsonArrayHeadersFilter underTest = ReadJsonArrayHeadersFilter.getInstance(headerDefinitions);
  
          final String filtered = underTest.apply(HEADER_DEFINITION.getKey(), "");
  
          assertThat(filtered).isEqualTo(expected);
      }
test_case.class_method_signature: ReadJsonArrayHeadersFilterTest.filterJsonArrayValueBasedOnEmptyString()
test_case.full_signature: @Test public void filterJsonArrayValueBasedOnEmptyString()
test_case.identifier: filterJsonArrayValueBasedOnEmptyString
test_case.invocations: empty toString getInstance apply getKey isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void filterJsonArrayValueBasedOnEmptyString()
focal_class.declarator: COMMA_SPLIT_REGEX = ","
focal_class.modifier: private static final
focal_class.original_string: private static final String COMMA_SPLIT_REGEX = ",";
focal_class.type: String
focal_class.var_name: COMMA_SPLIT_REGEX
focal_class.declarator: headerDefinitions
focal_class.modifier: private final
focal_class.original_string: private final Map<String, HeaderDefinition> headerDefinitions;
focal_class.type: Map<String, HeaderDefinition>
focal_class.var_name: headerDefinitions
focal_class.file: protocol-adapter/src/main/java/org/eclipse/ditto/protocoladapter/ReadJsonArrayHeadersFilter.java
focal_class.identifier: ReadJsonArrayHeadersFilter
focal_class.class_method_signature: ReadJsonArrayHeadersFilter.ReadJsonArrayHeadersFilter(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.full_signature: private  ReadJsonArrayHeadersFilter(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.identifier: ReadJsonArrayHeadersFilter
focal_class.modifiers: private
focal_class.parameters: (final Map<String, HeaderDefinition> headerDefinitions)
focal_class.signature:  ReadJsonArrayHeadersFilter(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.class_method_signature: ReadJsonArrayHeadersFilter.getInstance(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.full_signature: public static ReadJsonArrayHeadersFilter getInstance(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.identifier: getInstance
focal_class.modifiers: public static
focal_class.parameters: (final Map<String, HeaderDefinition> headerDefinitions)
focal_class.return: ReadJsonArrayHeadersFilter
focal_class.signature: ReadJsonArrayHeadersFilter getInstance(final Map<String, HeaderDefinition> headerDefinitions)
focal_class.class_method_signature: ReadJsonArrayHeadersFilter.filterValue(final String key, final String value)
focal_class.full_signature: @Nullable @Override protected String filterValue(final String key, final String value)
focal_class.identifier: filterValue
focal_class.modifiers: @Nullable @Override protected
focal_class.parameters: (final String key, final String value)
focal_class.return: String
focal_class.signature: String filterValue(final String key, final String value)
focal_class.class_method_signature: ReadJsonArrayHeadersFilter.isJsonArrayDefinition(final String headerKey)
focal_class.full_signature: private boolean isJsonArrayDefinition(final String headerKey)
focal_class.identifier: isJsonArrayDefinition
focal_class.modifiers: private
focal_class.parameters: (final String headerKey)
focal_class.return: boolean
focal_class.signature: boolean isJsonArrayDefinition(final String headerKey)
focal_class.class_method_signature: ReadJsonArrayHeadersFilter.getJsonArray(final String headerValue)
focal_class.full_signature: private static JsonArray getJsonArray(final String headerValue)
focal_class.identifier: getJsonArray
focal_class.modifiers: private static
focal_class.parameters: (final String headerValue)
focal_class.return: JsonArray
focal_class.signature: JsonArray getJsonArray(final String headerValue)
focal_class.class_method_signature: ReadJsonArrayHeadersFilter.tryToParseJsonArray(final String headerValue)
focal_class.full_signature: private static JsonArray tryToParseJsonArray(final String headerValue)
focal_class.identifier: tryToParseJsonArray
focal_class.modifiers: private static
focal_class.parameters: (final String headerValue)
focal_class.return: JsonArray
focal_class.signature: JsonArray tryToParseJsonArray(final String headerValue)
focal_class.superclass: extends AbstractHeaderEntryFilter
focal_method.body: public static ReadJsonArrayHeadersFilter getInstance(final Map<String, HeaderDefinition> headerDefinitions) {
          return new ReadJsonArrayHeadersFilter(checkNotNull(headerDefinitions, "headerDefinitions"));
      }
focal_method.class_method_signature: ReadJsonArrayHeadersFilter.getInstance(final Map<String, HeaderDefinition> headerDefinitions)
focal_method.full_signature: public static ReadJsonArrayHeadersFilter getInstance(final Map<String, HeaderDefinition> headerDefinitions)
focal_method.identifier: getInstance
focal_method.invocations: checkNotNull
focal_method.modifiers: public static
focal_method.parameters: (final Map<String, HeaderDefinition> headerDefinitions)
focal_method.return: ReadJsonArrayHeadersFilter
focal_method.signature: ReadJsonArrayHeadersFilter getInstance(final Map<String, HeaderDefinition> headerDefinitions)