org.eclipse.jetty.embedded
Class FileServer

java.lang.Object
  extended by org.eclipse.jetty.embedded.FileServer

public class FileServer
extends Object

Simple Jetty FileServer. This is a simple example of Jetty configured as a FileServer. File server Usage - java org.eclipse.jetty.server.example.FileServer [ port [ docroot ]]

Author:
gregw
See Also:
for the equivalent example done in XML configuration.

Constructor Summary
FileServer()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileServer

public FileServer()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.