Created
August 29, 2008 06:01
-
-
Save csmuc/7912 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include_class 'org.mortbay.jetty.webapp.WebAppContext' | |
include_class 'org.jruby.rack.RackFilter' | |
webapp = WebAppContext.new(server, File.expand_path(RAILS_ROOT) + "/public", "/") | |
rack = webapp.servletHandler.newFilterHolder(RackFilter) | |
"no newFilterHolder with arguments matching [class org.jruby.RubyClass] on object #<Java::OrgMortbayJettyServlet::ServletHandler:0x700ff8 @java_object=ServletHandler@117ad7b>" | |
Jetty API: | |
ServletHandler: | |
public FilterHolder newFilterHolder(Class filter) | |
http://docs.huihoo.com/javadoc/jetty/6.1/org/mortbay/jetty/servlet/ServletHandler.html#newFilterHolder(java.lang.Class) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment