module ActionController::RackDelegation - actionpack-4.2.3 Documentation

# module ActionController::RackDelegation

### Public Instance Methods

dispatch(action, request) click to toggle source
Calls superclass method

    # File lib/action_controller/metal/rack_delegation.rb, line 11
    def dispatch(action, request)
      set_response!(request)
      super(action, request)
    end

reset_session() click to toggle source

    # File lib/action_controller/metal/rack_delegation.rb, line 21
    def reset_session
      @_request.reset_session
    end

response_body=(body) click to toggle source
Calls superclass method

    # File lib/action_controller/metal/rack_delegation.rb, line 16
    def response_body=(body)
      response.body = body if response
      super
    end

### Private Instance Methods

set_response!(request) click to toggle source

    # File lib/action_controller/metal/rack_delegation.rb, line 27
    def set_response!(request)
      @_response         = ActionDispatch::Response.new
      @_response.request = request
    end