Class 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 Detail

      • ProcessedRequestParameterMapInitializer

        public ProcessedRequestParameterMapInitializer​(XSSRequestService requestService,
                                                       javax.servlet.http.HttpServletRequest originalRequest)
    • Method Detail

      • 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