THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Rename the current HttpService
class as InternalHttpService
.
Create a new HttpService
public interface with methods like:
...
Let InternalHttpService
implement HttpService
to add the specified endpoints to its Jetty Server.
Add a getHttpService()
method to some public API, returning the InternalHttpService
instance as an HttpService
. (What is an appropriate candidate for this method?)
...