code: @Override
      public void pause() throws PauseableComponentException {
          try {
              // Stop the HTTP and HTTPS chains.
              // Some of the process that stops the chain is asynchronous and will not complete until all active
              // work completes; however, the pause function only requires that new inbound work going through this
              // endpoint be rejected. By the time this method exits, requests that target this
              // endpoint will no longer be accepted (CWWKO0220I: TCP Channel ***(-ssl) has stopped listening for
              // requests on host ****  (IPv6) port ****.).
              processHttpChainWork(false, true);
  
              // Check the state of the HTTP chains. The expectation is that the HTTP chains' states are NOT STARTED
              // (UNITIALIZED, DESTROYED, QUIESCED or STOPPED).
              if (httpChain.getChainState() == ChainState.STARTED.val || httpSecureChain.getChainState() == ChainState.STARTED.val) {
                  throw new PauseableComponentException("The request to pause HTTP endpoint " + name + " did not complete successfully.");
              }
          } catch (Throwable t) {
              throw new PauseableComponentException(t);
          }
      }
docs: {@inheritDoc}