Interface BackofficeThreadRequestAttributes
-
- All Known Implementing Classes:
RequestIdOperationContextAttributes
public interface BackofficeThreadRequestAttributesInterface providing request attributes that should be copied to executors byBackofficeThreadContextCreator. 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.ObjectgetAttribute(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 causedBackofficeThreadContextCreatorspawn 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 causedBackofficeThreadContextCreatorspawn new executorattribute- name of attribute picked for copying- Returns:
- value of attribute
-
-