Class JettyRails::Handler::DelegateOnErrorsResponse
In: lib/jetty_rails/handler/delegate_on_errors_handler.rb
Parent: Object

Methods

Included Modules

Java::JavaxServletHttp::HttpServletResponse

Public Class methods

[Source]

# File lib/jetty_rails/handler/delegate_on_errors_handler.rb, line 7
      def initialize(original, request)
        @original = original
        @request = request
      end

Public Instance methods

[Source]

# File lib/jetty_rails/handler/delegate_on_errors_handler.rb, line 16
      def method_missing(method, *args, &blk)
        @original.send(method, *args, &blk)
      end

[Source]

# File lib/jetty_rails/handler/delegate_on_errors_handler.rb, line 12
      def sendError(status_code)
        @request.handled = false
      end

[Validate]