Package org.logdoc.fairhttp.service.http
Class Server
- java.lang.Object
-
- org.logdoc.fairhttp.service.http.Server
-
- All Implemented Interfaces:
FairHttpServer
public class Server extends Object implements FairHttpServer
- Author:
- Denis Danilin | me@loslobos.ru 03.02.2023 17:39 FairHttpService ☭ sweat and blood
-
-
Constructor Summary
Constructors Constructor Description Server(com.typesafe.config.Config config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddEndpoint(DynamicRoute route)booleanremoveEndpoint(String method, String signature)voidsetupConfigEndpoints(Collection<String> raw)voidsetupDynamicEndpoints(Collection<DynamicRoute> routes)voidstart()
-
-
-
Method Detail
-
start
public void start()
-
setupDynamicEndpoints
public void setupDynamicEndpoints(Collection<DynamicRoute> routes)
- Specified by:
setupDynamicEndpointsin interfaceFairHttpServer
-
setupConfigEndpoints
public void setupConfigEndpoints(Collection<String> raw)
- Specified by:
setupConfigEndpointsin interfaceFairHttpServer
-
removeEndpoint
public boolean removeEndpoint(String method, String signature)
- Specified by:
removeEndpointin interfaceFairHttpServer
-
addEndpoint
public boolean addEndpoint(DynamicRoute route)
- Specified by:
addEndpointin interfaceFairHttpServer
-
-