jetty

Description

DEPRECATED: Use the actively maintained rjack-jetty instead. This gem has been re-released as a simple compatibly wrapper for the rjack-jetty gem.

Synopsis

% jetty-service -v
Usage: jetty-service [options]
    -p, --port N           Port to listen on (default: auto)
    -t, --threads N        Maximum pool threads (default: 20)
    -w, --webapp PATH      Load PATH as root context webapp
                           (default: gem test.war)
    -j, --jsp              Enable JSP support by loading jetty-jsp gem
    -d, --debug            Enable debug logging
    -v, --version          Show version and exit

or

require 'jetty'
require 'jetty/test-servlets'

factory = Jetty::ServerFactory.new
factory.port = 8080

factory.set_context_servlets( '/', '/*' => Jetty::TestServlets::SnoopServlet.new )
server = factory.create
server.start
server.join

License

jetty gem

Copyright © 2008-2011 David Kellum

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Jetty Web Container (Java)

Copyright © 1995-2009 Mort Bay Consulting Pty Ltd

The Jetty Web Container is Copyright Mort Bay Consulting Pty Ltd unless otherwise noted. It is dual licensed under the apache 2.0 license and eclipse 1.0 license. Jetty may be distributed under either license.

The javax.servlet package used was sourced from the Apache Software Foundation and is distributed under the apache 2.0 license.

The UnixCrypt.java code implements the one way cryptography used by Unix systems for simple password protection. Copyright 1996 Aki Yoshida, modified April 2001 by Iris Van den Broeke, Daniel Deville. Permission to use, copy, modify and distribute UnixCrypt for non-commercial or commercial purposes and without fee is granted provided that the copyright notice appears in all copies.