public static HttpHandler getNext ( HttpServerExchange httpServerExchange , HttpHandler next ) throws Exception { if ( next != null ) { return next ; } return getNext ( httpServerExchange ) ; }
Returns the instance of the next handler or the given next param if it s not null .