Class HTTPServer
java.lang.Object
org.apache.skywalking.oap.server.library.server.http.HTTPServer
- All Implemented Interfaces:
Server
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHandler(Object handler, List<com.linecorp.armeria.common.HttpMethod> httpMethods) voidvoidstart()
-
Constructor Details
-
HTTPServer
-
-
Method Details
-
initialize
public void initialize()- Specified by:
initializein interfaceServer
-
addHandler
- Parameters:
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()
-