Class SetErrorHandler

  • All Implemented Interfaces:
    HttpHandler

    public class SetErrorHandler
    extends Object
    implements HttpHandler
    A handler that sets response code but continues the exchange so the servlet's error page can be returned.
    Author:
    Brad Wood
    • Constructor Detail

      • SetErrorHandler

        public SetErrorHandler​(HttpHandler next,
                               int responseCode)
        Construct a new instance.
        Parameters:
        responseCode - the response code to set