public class CodeServer extends Object
This class contains the main method
that starts the code server for
"Super Dev Mode", a replacement for developer mode that doesn't require
browser plugins.
This tool is EXPERIMENTAL. There is no authentication, no encryption, no XSS protection, and it makes all source code on the GWT compiler's classpath available via HTTP. It is only safe to run on localhost (the default).
Constructor and Description |
---|
CodeServer() |
Modifier and Type | Method and Description |
---|---|
static void |
main(Options options)
Starts the code server with the given options.
|
static void |
main(String[] args)
Starts the code server.
|
static WebServer |
start(Options options)
Starts the code server with the given command line options.
|
public static void main(String[] args) throws Exception
public static void main(Options options)
public static WebServer start(Options options) throws IOException, UnableToCompleteException
WebServer.stop()
.
Only one code server should be started at a time because the GWT compiler uses a lot of static variables.
IOException
UnableToCompleteException
Copyright © 2018. All rights reserved.