Class StartupHandler
java.lang.Object
io.javaoperatorsdk.operator.sample.probes.StartupHandler
- All Implemented Interfaces:
HttpHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(HttpExchange httpExchange) static voidsendMessage(HttpExchange httpExchange, int code, String message)
-
Constructor Details
-
StartupHandler
public StartupHandler(io.javaoperatorsdk.operator.Operator operator)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceHttpHandler- Throws:
IOException
-
sendMessage
public static void sendMessage(HttpExchange httpExchange, int code, String message) throws IOException - Throws:
IOException
-