@Override
    public void resume() throws PauseableComponentException {
        try {
            // Start the HTTP and HTTPS chains.
            // By the time this method exits, requests that target this endpoint will be accepted (CWWKO0219I:
            // TCP Channel *** has been started and is now listening for requests on host ***  (IPv6) port ***.).
            processHttpChainWork(true, true);

            // Check the state of the HTTP chains. The expectation is that the HTTP and HTTPS chains states are either STARTED
            // or UNINITIALIZED (disabled).
            int httpChainState = httpChain.getChainState();
            int httpsChainState = httpSecureChain.getChainState();
            if (!(httpChainState == ChainState.STARTED.val && httpsChainState == ChainState.UNINITIALIZED.val ||
                  httpChainState == ChainState.UNINITIALIZED.val && httpsChainState == ChainState.STARTED.val ||
                  httpChainState == ChainState.STARTED.val && httpsChainState == ChainState.STARTED.val)) {
                throw new PauseableComponentException("The request to resume HTTP endpoint " + name + " did not complete successfully. HTTPChain: " + httpChain.toString()
                                                      + ". HTTPSChain: " + httpSecureChain.toString());
            }
        } catch (Throwable t) {
            throw new PauseableComponentException(t);
        }
    }
@ Override public void resume ( ) throws PauseableComponentException { try { processHttpChainWork ( true , true ) ; int httpChainState = httpChain . getChainState ( ) ; int httpsChainState = httpSecureChain . getChainState ( ) ; if ( ! ( httpChainState == ChainState . STARTED . val && httpsChainState == ChainState . UNINITIALIZED . val || httpChainState == ChainState . UNINITIALIZED . val && httpsChainState == ChainState . STARTED . val || httpChainState == ChainState . STARTED . val && httpsChainState == ChainState . STARTED . val ) ) { throw new PauseableComponentException ( "The request to resume HTTP endpoint " + name + " did not complete successfully. HTTPChain: " + httpChain . toString ( ) + ". HTTPSChain: " + httpSecureChain . toString ( ) ) ; } } catch ( Throwable t ) { throw new PauseableComponentException ( t ) ; } }
{@inheritDoc}