Eureka1RegistrationRequestHandler(Eureka1RegistryProxy registryProxy, EurekaHttpServer httpServer) { this.registryProxy = registryProxy; httpServer.connectHttpEndpoint(ROOT_PATH, this); }
@Inject public Eureka1RedirectRequestHandler(ExtensionContext context, EurekaHttpServer httpServer) { this.context = context; httpServer.connectHttpEndpoint(ROOT_PATH, this); }
@Inject public Eureka1RootRequestHandler(EurekaHttpServer httpServer, Eureka1RegistrationRequestHandler registrationRequestHandler, Eureka1QueryRequestHandler queryRequestHandler) { this.registrationRequestHandler = registrationRequestHandler; this.queryRequestHandler = queryRequestHandler; httpServer.connectHttpEndpoint(ROOT_PATH, this); }
@Inject public WriteServerRootResource(EurekaHttpServer httpServer) { httpServer.connectHttpEndpoint("/eureka2", this); }