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 TypeMethodDescriptiongetAttribute(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
Gets attributes to be copied from specified request- Parameters:
request- request that causedBackofficeThreadContextCreatorspawn new executor- Returns:
- enumeration of attribute names
-
getAttribute
Gets attribute value to be copied.- Parameters:
request- request that causedBackofficeThreadContextCreatorspawn new executorattribute- name of attribute picked for copying- Returns:
- value of attribute
-