Interface RequestScoper


  • public interface RequestScoper
    Object that can be used to apply a request scope to a block of code.
    • Method Detail

      • open

        RequestScoper.CloseableScope open()
        Opens up the request scope until the returned object is closed. Implementations should ensure (e.g. by blocking) that multiple threads cannot open the same request scope concurrently. It is allowable to open the same request scope on the same thread, as long as open/close calls are correctly nested.