Module: ActionController::RackDelegation
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
Base,
Caching,
ConditionalGet,
Cookies,
EtagWithTemplateDigest,
Instrumentation,
Redirecting,
Testing,
::ActionView::TestCase::TestController,
Rails::ApplicationController,
Rails::InfoController,
Rails::MailersController,
Rails::WelcomeController
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::Concern
|
|
Defined in: | actionpack/lib/action_controller/metal/rack_delegation.rb |
Class Method Summary
::ActiveSupport::Concern - Extended
Instance Attribute Summary
- #content_type rw
- #headers readonly
- #location rw
- #response_body=(body) writeonly
- #response_code readonly
- #status rw
Instance Method Summary
Instance Attribute Details
#content_type (rw)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 8
delegate :headers, :status=, :location=, :content_type=, :status, :location, :content_type, :response_code, :to => "@_response"
#headers (readonly)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 8
delegate :headers, :status=, :location=, :content_type=, :status, :location, :content_type, :response_code, :to => "@_response"
#location (rw)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 8
delegate :headers, :status=, :location=, :content_type=, :status, :location, :content_type, :response_code, :to => "@_response"
#response_body=(body) (writeonly)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 16
def response_body=(body) response.body = body if response super end
#response_code (readonly)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 8
delegate :headers, :status=, :location=, :content_type=, :status, :location, :content_type, :response_code, :to => "@_response"
#status (rw)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 8
delegate :headers, :status=, :location=, :content_type=, :status, :location, :content_type, :response_code, :to => "@_response"
Instance Method Details
#dispatch(action, request)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 11
def dispatch(action, request) set_response!(request) super(action, request) end
#reset_session
[ GitHub ]# File 'actionpack/lib/action_controller/metal/rack_delegation.rb', line 21
def reset_session @_request.reset_session end