src/main/ruby/jruby/rack/session_store.rb
# Allows direct delegation to servlet session methods when session is active
Allows direct delegation to servlet session methods when session is active
Allows direct delegation to servlet session methods when session is active
def method_missing(meth, *args, &block)
        servlet_session = @by.get_servlet_session(@env)
        if servlet_session && servlet_session.respond_to?(meth)
          servlet_session.send(meth, *args, &block)
        else
          super
        end
      end
def method_missing ( meth , * args , & block ) servlet_session = @by . get_servlet_session ( @env ) if servlet_session && servlet_session . respond_to? ( meth ) servlet_session . send ( meth , * args , & block ) else super end end
Allows direct delegation to servlet session methods when session is active
Allows direct delegation to servlet session methods when session is active
meth
<not_specific>
args
<not_specific>
block
<not_specific>