Gets the storage of the specified type. @param storageType the type @return the storage
(final Type storageType)
| 624 | * @return the storage |
| 625 | */ |
| 626 | public Storage getStorage(final Type storageType) { |
| 627 | return storages_.computeIfAbsent(storageType, |
| 628 | k -> { |
| 629 | final WebWindow webWindow = getWebWindow(); |
| 630 | final Map<String, String> store = webWindow.getWebClient().getStorageHolder(). |
| 631 | getStore(storageType, webWindow.getEnclosedPage()); |
| 632 | return new Storage(this, store); |
| 633 | } |
| 634 | ); |
| 635 | } |
| 636 | |
| 637 | /** |
| 638 | * Returns the {@code location} property. |
no test coverage detected