我正在試驗HTTP/2。我在this repo中發現了一些例子。這裏的構造函數(樣板代碼跳過): public WebServer(String path, HttpServlet servlet, int port) {
Server server = new Server(new QueuedThreadPool());
ServletContextHandler cont
我有這樣的服務器代碼: @Path("/Sdk")
public class SdkOperation {
private final CofmanService cofmanService;
public SdkOperation() throws Exception {
this(new CofmanServiceNet());
}