Interface TemporaryWebAttachmentsMonitorLocator

All Known Implementing Classes:
DefaultTemporaryWebAttachmentsMonitorLocator

public interface TemporaryWebAttachmentsMonitorLocator
Locator to abstract how we obtain the TemporaryWebAttachmentsMonitor. Implementations should store one of these monitors per user session.
Since:
v6.4
  • Method Details

    • get

      io.atlassian.fugue.Option<TemporaryWebAttachmentsMonitor> get()
      Returns:
      TemporaryStreamAttachmentsMonitor if one already exists or none in other case.
    • getOrCreate

      Retrieves TemporaryStreamAttachmentsMonitor from store or creates new one if needed.
      Returns:
      existing instance of TemporaryStreamAttachmentsMonitor or new one if it is not present in store.
      Throws:
      IllegalStateException - if this method is invoked outside request scope