Interface BackofficeThreadRequestAttributes

  • All Known Implementing Classes:
    RequestIdOperationContextAttributes

    public interface BackofficeThreadRequestAttributes
    Interface providing request attributes that should be copied to executors by BackofficeThreadContextCreator. Bear in mind that those values will be available in different thread and no thread-related values should be copied.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getAttribute​(javax.servlet.ServletRequest request, java.lang.String attribute)
      Gets attribute value to be copied.
      java.util.Enumeration<java.lang.String> getAttributeNames​(javax.servlet.ServletRequest request)
      Gets attributes to be copied from specified request
    • Method Detail

      • getAttributeNames

        java.util.Enumeration<java.lang.String> getAttributeNames​(javax.servlet.ServletRequest request)
        Gets attributes to be copied from specified request
        Parameters:
        request - request that caused BackofficeThreadContextCreator spawn new executor
        Returns:
        enumeration of attribute names
      • getAttribute

        java.lang.Object getAttribute​(javax.servlet.ServletRequest request,
                                      java.lang.String attribute)
        Gets attribute value to be copied.
        Parameters:
        request - request that caused BackofficeThreadContextCreator spawn new executor
        attribute - name of attribute picked for copying
        Returns:
        value of attribute