docs: public void processHttpChainWork(boolean enableEndpoint, boolean isPause) {
          if (enableEndpoint) {
              // enable the endpoint if it is currently disabled
              // it's ok if the endpoint is stopped, the config update will occur @ next start
              endpointState.compareAndSet(DISABLED, ENABLED);
  
              if (httpPort >= 0) {
                  httpChain.enable();
              }
              if (httpsPort >= 0 && sslFactoryProvider.getService() != null) {
                  httpSecureChain.enable();
              }
  
              if (!isPause) {
                  // Use an update action so they pick up the new settings
                  performAction(updateAction);
              } else {
                  updateAction.run();
              }
          } else {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(this, tc, "endpoint disabled: " + (String) endpointConfig.get("id"));
              }
  
              // The endpoint has been disabled-- stop it now
              endpointState.set(DISABLED);
              if (!isPause) {
                  performAction(stopAction);
              } else {
                  stopAction.run();
              }
          }
      }