Class StartupHandler
- java.lang.Object
-
- io.javaoperatorsdk.operator.sample.probes.StartupHandler
-
- All Implemented Interfaces:
HttpHandler
public class StartupHandler extends Object implements HttpHandler
-
-
Constructor Summary
Constructors Constructor Description StartupHandler(io.javaoperatorsdk.operator.Operator operator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(HttpExchange httpExchange)static voidsendMessage(HttpExchange httpExchange, int code, String message)
-
-
-
Method Detail
-
handle
public void handle(HttpExchange httpExchange) throws IOException
- Specified by:
handlein interfaceHttpHandler- Throws:
IOException
-
sendMessage
public static void sendMessage(HttpExchange httpExchange, int code, String message) throws IOException
- Throws:
IOException
-
-