Class AttributeProcessor

  • All Implemented Interfaces:
    VariablesProcessor

    public class AttributeProcessor
    extends Object
    implements VariablesProcessor
    This processor supports a various range of attributes: PREFIX_API_CALL_CONTEXT_ATTRIBUTE PREFIX_API_SESSION_ATTRIBUTE PREFIX_REQUEST_ATTRIBUTE PREFIX_SESSION_ATTRIBUTE PREFIX_SESSION_AND_DELETE_ATTRIBUTE PREFIX_CONTEXT_ATTRIBUTE PREFIX_BOX_ATTRIBUTE PREFIX_PAGE_ATTRIBUTE
    Author:
    lrosenberg
    • Constructor Detail

      • AttributeProcessor

        public AttributeProcessor()
    • Method Detail

      • replace

        public String replace​(String prefix,
                              String variable,
                              String defValue,
                              jakarta.servlet.http.HttpServletRequest req)
        Description copied from interface: VariablesProcessor
        Replace method.
        Specified by:
        replace in interface VariablesProcessor
        Parameters:
        prefix - processor prefix
        variable - variable to replace
        defValue - default value
        req - request
        Returns:
        replaced text