@ Override public boolean acceptInboundMessage ( final Object msg ) throws Exception { if ( ! ( msg instanceof FullHttpRequest ) ) return false ; final FullHttpRequest request = ( FullHttpRequest ) msg ; final String uri = request . getUri ( ) ; return pathResolver . isStaticPath ( uri ) ; }
here to make sure that the message is not released twice by the dispatcherHandler and by this handler