Bundle-Category STRING (‘,’ STRING )
Description: /* * Bundle-Category header */ private void doBundleCategory(BundleCategory annotation) { if (annotation.custom() != null) for (String s : annotation.custom()) { add(Constants.BUNDLE_CATEGORY, s); }
Date: 2019-10-12T20:27:56-04:00

- Supported by OSGi enRoute

- # Bundle-Category STRING (',' STRING )

      /*
       * Bundle-Category header
       */
      private void doBundleCategory(BundleCategory annotation) {
      	if (annotation.custom() != null)
      		for (String s : annotation.custom()) {
      			add(Constants.BUNDLE_CATEGORY, s);
      		}

      	if (annotation.value() != null)
      		for (Category s : annotation.value()) {
      			add(Constants.BUNDLE_CATEGORY, s.toString());
      		}
      }