Class: JettyRails::Handler::DelegateOnErrorsHandler

Inherits:
Jetty::Handler::HandlerWrapper
  • Object
show all
Defined in:
lib/jetty_rails/handler/delegate_on_errors_handler.rb

Direct Known Subclasses

PublicDirectoryHandler

Instance Method Summary collapse

Instance Method Details

#handle(target, request, response, dispatch) ⇒ Object



22
23
24
25
# File 'lib/jetty_rails/handler/delegate_on_errors_handler.rb', line 22

def handle(target, request, response, dispatch)
  decorated_response = DelegateOnErrorsResponse.new(response, request)
  self.handler.handle(target, request, decorated_response, dispatch)
end