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

    Modifier and Type
    Method
    Description
    getAttribute(javax.servlet.ServletRequest request, String attribute)
    Gets attribute value to be copied.
    getAttributeNames(javax.servlet.ServletRequest request)
    Gets attributes to be copied from specified request
  • Method Details

    • getAttributeNames

      Enumeration<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

      Object getAttribute(javax.servlet.ServletRequest request, 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