Class GeneralError

java.lang.Object
spark.http.matching.GeneralError

final class GeneralError extends Object
Modifies the HTTP response and body based on the provided exception and request/response wrappers.
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
  • Constructor Details

    • GeneralError

      GeneralError()
  • Method Details

    • modify

      static void modify(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, Body body, RequestWrapper requestWrapper, ResponseWrapper responseWrapper, ExceptionMapper exceptionMapper, Exception e)
      Modifies the HTTP response and body based on the provided exception.