code: public static String extractHttpContextId(final ServiceReference<?> serviceReference) {
  		String httpContextId = getStringProperty(serviceReference, ExtenderConstants.PROPERTY_HTTP_CONTEXT_ID);
  
  		//TODO: Make sure the current HttpContextSelect works together with R6
  		if (httpContextId == null) {
  			String httpContextSelector = getStringProperty(serviceReference, HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_SELECT);
  			if (httpContextSelector != null) {
  				httpContextSelector = httpContextSelector.substring(1, httpContextSelector.length());
  				httpContextId = httpContextSelector.substring(HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_NAME.length() + 1);
  				httpContextId = httpContextId.substring(0, httpContextId.length() - 1);
  			}
  		}
  		return httpContextId;
  	}
docs: Utility method to extract the httpContextID from the service reference.
  This can either be included with the "old" Pax-Web style or the new OSGi R6 Whiteboard style.
  
  @param serviceReference - service reference where the httpContextID needs to be extracted from.
  @return the http context id