public static Boolean extractSharedHttpContext ( final ServiceReference < ? > serviceReference ) { Boolean sharedHttpContext = Boolean . parseBoolean ( ( String ) serviceReference . getProperty ( ExtenderConstants . PROPERTY_HTTP_CONTEXT_SHARED ) ) ; if ( serviceReference . getProperty ( HttpWhiteboardConstants . HTTP_WHITEBOARD_CONTEXT_SELECT ) != null ) { sharedHttpContext = true ; } return sharedHttpContext ; }
Utility method to extract the shared state of the HttpContext