@SuppressWarnings("UnusedDeclaration")
    public String dumpDestination(URI uri)
    {
        Destination destination = httpClient.getDestination(uri.getScheme(), uri.getHost(), uri.getPort());
        if (destination == null) {
            return null;
        }

        return dumpDestination(destination);
    }
@ SuppressWarnings ( "UnusedDeclaration" ) public String dumpDestination ( URI uri ) { Destination destination = httpClient . getDestination ( uri . getScheme ( ) , uri . getHost ( ) , uri . getPort ( ) ) ; if ( destination == null ) { return null ; } return dumpDestination ( destination ) ; }
todo this should be @Managed but operations with parameters are broken in jmx utils https://github.com/martint/jmxutils/issues/27