public abstract class ServletContainer extends Object
Constructor and Description |
---|
ServletContainer() |
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Returns the host on which the servlet container is running.
|
abstract int |
getPort()
Returns the port on which the server is running.Used to construct a URL to
reach the servlet container.
|
abstract void |
refresh()
Causes the web app to pick up changes made within the app root dir while
running.
|
abstract void |
stop()
Stops the running servlet container.
|
public String getHost()
public abstract int getPort()
public abstract void refresh() throws UnableToCompleteException
stop()
has been
called.
TODO(bruce): need to determine whether all the important servlet containers
will let us do this (e.g. ensure they don't lock files we would need to
update)UnableToCompleteException
public abstract void stop() throws UnableToCompleteException
UnableToCompleteException
Copyright © 2018. All rights reserved.