Class OperatorHealthHandler

  • All Implemented Interfaces:,

    public class OperatorHealthHandler
    Simple code which returns HTTP 200 messages if the service is live, and HTTP 500 messages if the service is down. The response is based on the HealthProbe.isHealthy() result.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void channelRead0​( ctx, msg)  
      • Methods inherited from class

        acceptInboundMessage, channelRead
      • Methods inherited from class

        channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
      • Methods inherited from class

        ensureNotSharable, handlerAdded, handlerRemoved, isSharable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface

        handlerAdded, handlerRemoved
    • Constructor Detail

      • OperatorHealthHandler

        public OperatorHealthHandler()
    • Method Detail

      • channelRead0

        public void channelRead0​( ctx,
        Specified by:
        channelRead0 in class<>