state = State.STOPPING;
shutdownFuture = Futures.createSafeFuture();
final HttpCodecFilter codecFilter = getHttpCodecFilter();
if (codecFilter != null) {
codecFilter.prepareForShutdown();
}
getHttpServerFilter().prepareForShutdown(shutdownCompletionHandler);
transport.shutdown(gracePeriod, timeUnit);