Class XSSRequestWrapper.ProcessedRequestParameterMapInitializer

java.lang.Object
org.apache.commons.lang3.concurrent.LazyInitializer<Map<String,String[]>>
com.broadleafcommerce.resource.security.xss.filter.XSSRequestWrapper.ProcessedRequestParameterMapInitializer
All Implemented Interfaces:
org.apache.commons.lang3.concurrent.ConcurrentInitializer<Map<String,String[]>>
Enclosing class:
XSSRequestWrapper

public static class XSSRequestWrapper.ProcessedRequestParameterMapInitializer extends org.apache.commons.lang3.concurrent.LazyInitializer<Map<String,String[]>>
This mechanism allows for thread-safe, lazy, one-time processing of all request parameters and their values rather than repeatedly within each parameter-related method.
  • Constructor Details

    • ProcessedRequestParameterMapInitializer

      public ProcessedRequestParameterMapInitializer(XSSRequestService requestService, jakarta.servlet.http.HttpServletRequest originalRequest)
  • Method Details

    • initialize

      protected Map<String,String[]> initialize() throws org.apache.commons.lang3.concurrent.ConcurrentException
      Specified by:
      initialize in class org.apache.commons.lang3.concurrent.LazyInitializer<Map<String,String[]>>
      Throws:
      org.apache.commons.lang3.concurrent.ConcurrentException
    • getRequestService

      protected XSSRequestService getRequestService()