Class: Trinidad::RailsWebApp
Overview
Rails web app specifics. Supports the same versions as jruby-rack !
Constant Summary
Constants inherited from WebApp
WebApp::DEFAULT_SERVLET_CLASS, WebApp::DEFAULT_SERVLET_NAME, WebApp::JSP_SERVLET_CLASS, WebApp::JSP_SERVLET_NAME, WebApp::RACK_FILTER_CLASS, WebApp::RACK_FILTER_NAME, WebApp::RACK_SERVLET_CLASS, WebApp::RACK_SERVLET_NAME
Instance Attribute Summary
Attributes inherited from WebApp
Instance Method Summary collapse
Methods inherited from WebApp
#[], #add_context_param, #aliases, #cache_max_size, #cache_object_max_size, #cache_ttl, #caching_allowed?, #class_loader, #class_loader!, #context_name, #context_path, #context_xml, create, #default_deployment_descriptor, #default_servlet, #default_web_xml, #define_lifecycle, #deployment_descriptor, #doc_base, #environment, #extensions, #generate_class_loader, #init_params, #initialize, #java_classes, #java_classes_dir, #java_lib, #java_lib_dir, #jruby_max_runtimes, #jruby_min_runtimes, #jruby_runtime_acquire_timeout, #jsp_servlet, #key?, #log_dir, #monitor, #public_config, #public_dir, #public_root, #rack_listener, #rack_servlet, #reset!, #servlet, #solo?, #threadsafe?, #war?, #web_app_dir, #web_xml, #web_xml_context_param, #web_xml_filter?, #web_xml_listener?, #web_xml_servlet?, #work_dir
Constructor Details
This class inherits a constructor from Trinidad::WebApp
Instance Method Details
#context_listener ⇒ Object
594 |
# File 'lib/trinidad/web_app.rb', line 594 def context_listener; 'org.jruby.rack.rails.RailsServletContextListener'; end |
#context_params ⇒ Object
588 589 590 591 592 |
# File 'lib/trinidad/web_app.rb', line 588 def context_params add_context_param 'rails.env', environment add_context_param 'rails.root', '/' super end |