# Action Dispatch
Action Dispatch 是 Action Pack 的一个模块。
Action Dispatch 解析有关 Web 请求的信息,处理用户定义的路由,并执行与 HTTP 相关的进阶处理,例如 MIME 类型协商、解码 POST、PATCH 或 PUT 请求体中的参数、处理 HTTP 缓存逻辑、Cookie 和会话。
命名空间
- MODULE ActionDispatch::Assertions
- MODULE ActionDispatch::Constants
- MODULE ActionDispatch::Http
- MODULE ActionDispatch::Integration
- MODULE ActionDispatch::Journey
- MODULE ActionDispatch::RequestCookieMethods
- MODULE ActionDispatch::Routing
- MODULE ActionDispatch::Session
- MODULE ActionDispatch::SystemTesting
- MODULE ActionDispatch::TestHelpers
- MODULE ActionDispatch::TestProcess
- CLASS ActionDispatch::AssertionResponse
- CLASS ActionDispatch::AssumeSSL
- CLASS ActionDispatch::Callbacks
- CLASS ActionDispatch::ContentSecurityPolicy
- CLASS ActionDispatch::Cookies
- CLASS ActionDispatch::DebugExceptions
- CLASS ActionDispatch::DebugLocks
- CLASS ActionDispatch::ExceptionWrapper
- CLASS ActionDispatch::Executor
- CLASS ActionDispatch::FileHandler
- CLASS ActionDispatch::Flash
- CLASS ActionDispatch::HostAuthorization
- CLASS ActionDispatch::IntegrationTest
- CLASS ActionDispatch::InvalidParameterError
- CLASS ActionDispatch::MiddlewareStack
- CLASS ActionDispatch::MissingController
- CLASS ActionDispatch::ParamBuilder
- CLASS ActionDispatch::ParamError
- CLASS ActionDispatch::ParameterTypeError
- CLASS ActionDispatch::ParamsTooDeepError
- CLASS ActionDispatch::PermissionsPolicy
- CLASS ActionDispatch::PublicExceptions
- CLASS ActionDispatch::QueryParser
- CLASS ActionDispatch::Reloader
- CLASS ActionDispatch::RemoteIp
- CLASS ActionDispatch::Request
- CLASS ActionDispatch::RequestEncoder
- CLASS ActionDispatch::RequestId
- CLASS ActionDispatch::Response
- CLASS ActionDispatch::SSL
- CLASS ActionDispatch::ServerTiming
- CLASS ActionDispatch::ShowExceptions
- CLASS ActionDispatch::Static
- CLASS ActionDispatch::SystemTestCase
- CLASS ActionDispatch::TestRequest
- CLASS ActionDispatch::TestResponse
方法
- E
- U
包含的模块
类公共方法
未知 链接
指定控制器和路由中调用重定向的方法是否应
be logged below their relevant log lines. Defaults to false.
来源: 显示 | 在 GitHub 上
# File actionpack/lib/action_dispatch.rb, line 146 singleton_class.attr_accessor :verbose_redirect_logs
实例公共方法
eager_load!() 链接
来源: 显示 | 在 GitHub 上
# File actionpack/lib/action_dispatch.rb, line 149 def eager_load! super Routing.eager_load! end