ServerSrvc.java 294 B

12345678910111213
  1. package thyyxxk.webserver.service.externalhttp;
  2. import com.dtflys.forest.annotation.Get;
  3. public interface ServerSrvc {
  4. @Get("http://localhost:9281/startServer?name=web-server")
  5. void startServer();
  6. @Get("http://localhost:9281/endServer?name=web-server")
  7. void endServer();
  8. }