Class RequestIdOperationContextAttributes
- java.lang.Object
-
- com.hybris.cockpitng.core.spring.RequestOperationContextManager
-
- com.hybris.backoffice.cockpitng.util.impl.RequestIdOperationContextAttributes
-
- All Implemented Interfaces:
BackofficeThreadRequestAttributes,java.util.EventListener,javax.servlet.ServletRequestListener
public class RequestIdOperationContextAttributes extends com.hybris.cockpitng.core.spring.RequestOperationContextManager implements BackofficeThreadRequestAttributes
A request operation context manager that assures that request id is copied toBackofficeThreadContextCreatorexecutors.
-
-
Constructor Summary
Constructors Constructor Description RequestIdOperationContextAttributes()
-
Method Summary
All Methods Instance Methods Concrete 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
public java.util.Enumeration<java.lang.String> getAttributeNames(javax.servlet.ServletRequest request)
Description copied from interface:BackofficeThreadRequestAttributesGets attributes to be copied from specified request- Specified by:
getAttributeNamesin interfaceBackofficeThreadRequestAttributes- Parameters:
request- request that causedBackofficeThreadContextCreatorspawn new executor- Returns:
- enumeration of attribute names
-
getAttribute
public java.lang.Object getAttribute(javax.servlet.ServletRequest request, java.lang.String attribute)Description copied from interface:BackofficeThreadRequestAttributesGets attribute value to be copied.- Specified by:
getAttributein interfaceBackofficeThreadRequestAttributes- Parameters:
request- request that causedBackofficeThreadContextCreatorspawn new executorattribute- name of attribute picked for copying- Returns:
- value of attribute
-
-