public class SimpleEurekaHttpServer
extends java.lang.Object
EurekaHttpClient
implementation. It is very lightweight implementation that can be used in unit test without incurring to much
overhead.| Constructor and Description |
|---|
SimpleEurekaHttpServer(com.netflix.discovery.shared.transport.EurekaHttpClient requestHandler) |
SimpleEurekaHttpServer(com.netflix.discovery.shared.transport.EurekaHttpClient requestHandler,
EurekaTransportEventListener eventListener) |
| Modifier and Type | Method and Description |
|---|---|
int |
getServerPort() |
java.net.URI |
getServiceURI() |
void |
shutdown() |
public SimpleEurekaHttpServer(com.netflix.discovery.shared.transport.EurekaHttpClient requestHandler)
throws java.io.IOException
java.io.IOExceptionpublic SimpleEurekaHttpServer(com.netflix.discovery.shared.transport.EurekaHttpClient requestHandler,
EurekaTransportEventListener eventListener)
throws java.io.IOException
java.io.IOException