Class ThreadLocalHttpServletResponseSupplier

    • Constructor Detail

      • ThreadLocalHttpServletResponseSupplier

        public ThreadLocalHttpServletResponseSupplier()
    • Method Detail

      • get

        @Nonnull
        public javax.servlet.http.HttpServletResponse get()
        Get the current HttpServletResponse from ThreadLocal storage.
        Specified by:
        get in interface NonnullSupplier<javax.servlet.http.HttpServletResponse>
        Specified by:
        get in interface Supplier<javax.servlet.http.HttpServletResponse>
        Returns:
        the current response