类 HTTPServer
java.lang.Object
org.apache.skywalking.oap.server.library.server.http.HTTPServer
- 所有已实现的接口:
Server
-
字段概要
字段修饰符和类型字段说明protected final Set<com.linecorp.armeria.common.HttpMethod>protected com.linecorp.armeria.server.ServerBuilder -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddHandler(Object handler, List<com.linecorp.armeria.common.HttpMethod> httpMethods) voidvoidstart()
-
字段详细资料
-
sb
protected com.linecorp.armeria.server.ServerBuilder sb -
allowedMethods
-
-
构造器详细资料
-
HTTPServer
-
-
方法详细资料
-
initialize
public void initialize()- 指定者:
initialize在接口中Server
-
addHandler
- 参数:
handler- Specific service provider.httpMethods- Register the http methods which the handler service accepts. Other methods respond "405, Method Not Allowed".
-
start
public void start()
-