@Test public void shouldReportAvailableExtensions() { Collection<WebSocketExtensionFactorySpi> available = wsExtFactory.availableExtensions(); assertEquals(5, available.size()); }
public Collection<WebSocketExtensionFactorySpi> availableExtensions() { return factoriesRO.values(); }
WebSocketExtensionFactory { public Collection<WebSocketExtensionFactorySpi> availableExtensions() { return factoriesRO.values(); } }
WebSocketExtensionFactory { public Collection<WebSocketExtensionFactorySpi> availableExtensions() { return factoriesRO.values(); } private  WebSocketExtensionFactory(Map<String, WebSocketExtensionFactorySpi> factoriesRO); }
WebSocketExtensionFactory { public Collection<WebSocketExtensionFactorySpi> availableExtensions() { return factoriesRO.values(); } private  WebSocketExtensionFactory(Map<String, WebSocketExtensionFactorySpi> factoriesRO); Collection<WebSocketExtensionFactorySpi> availableExtensions(); List<WebSocketExtension> negotiateWebSocketExtensions(WsResourceAddress address,
                                                                 List<String> clientRequestedExtensions,
                                                                 ExtensionHelper extensionHelper); List<WebSocketExtension> offerWebSocketExtensions(WsResourceAddress address,
                                                             ExtensionHelper extensionHelper); static WebSocketExtensionFactory newInstance(); static WebSocketExtensionFactory newInstance(ClassLoader cl); }
WebSocketExtensionFactory { public Collection<WebSocketExtensionFactorySpi> availableExtensions() { return factoriesRO.values(); } private  WebSocketExtensionFactory(Map<String, WebSocketExtensionFactorySpi> factoriesRO); Collection<WebSocketExtensionFactorySpi> availableExtensions(); List<WebSocketExtension> negotiateWebSocketExtensions(WsResourceAddress address,
                                                                 List<String> clientRequestedExtensions,
                                                                 ExtensionHelper extensionHelper); List<WebSocketExtension> offerWebSocketExtensions(WsResourceAddress address,
                                                             ExtensionHelper extensionHelper); static WebSocketExtensionFactory newInstance(); static WebSocketExtensionFactory newInstance(ClassLoader cl);  }