Class: StaticFileFilter
- Inherits:
-
Object
- Object
- StaticFileFilter
- Extended by:
- ParamAccessor
- Defined in:
- lib/rubylet/war_task.rb
Instance Method Summary collapse
Methods included from ParamAccessor
Instance Method Details
#call(w) ⇒ Object
136 137 138 139 140 141 142 143 144 145 146 147 |
# File 'lib/rubylet/war_task.rb', line 136 def call(w) w.filter { |f| f.filter_name name f.filter_class java_class f.init_param! 'docBase', doc_base f.async_supported async_supported if async_supported } w.filter_mapping { |f| f.filter_name name f.url_pattern url_pattern } end |