|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.tools.cli.CLI.HttpHandler
public static class CLI.HttpHandler
Handle http command
| Constructor Summary | |
|---|---|
CLI.HttpHandler()
|
|
| Method Summary | |
|---|---|
static boolean |
createWebster(int port,
String roots,
boolean quiet,
PrintStream out)
Create a Webster instance |
boolean |
createWebster(int port,
String roots,
PrintStream out)
Create a Webster instance |
static String |
debugGetDefaultRoots()
|
String |
getUsage()
Get the usage of the command |
String |
process(String input,
BufferedReader br,
PrintStream out)
Process the option. |
static void |
stopWebster()
Stop the webster instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CLI.HttpHandler()
| Method Detail |
|---|
public String process(String input,
BufferedReader br,
PrintStream out)
OptionHandler
process in interface OptionHandlerinput - Parameters for the option, may be nullbr - An optional BufferdReader, used if the option requires input.
if this is null, the option handler may create a BufferedReader to
handle the inputout - The PrintStream to use if the option prints results or
choices for the user. Must not be null
public String getUsage()
OptionHandler
getUsage in interface OptionHandler
public boolean createWebster(int port,
String roots,
PrintStream out)
port - The port to useroots - Webster's rootsout - A printstream for output
public static String debugGetDefaultRoots()
public static boolean createWebster(int port,
String roots,
boolean quiet,
PrintStream out)
port - The port to useroots - Webster's rootsquiet - Run without outputout - A printstream for output
public static void stopWebster()
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||