Jsr160RequestDispatcher implements RequestDispatcher { public boolean useReturnValueWithPath(JmxRequest pJmxRequest) { JsonRequestHandler handler = requestHandlerManager.getRequestHandler(pJmxRequest.getType()); return handler.useReturnValueWithPath(); } Jsr160RequestDispatcher(Converters pConverters,
                                   ServerHandle pServerInfo,
                                   Restrictor pRestrictor,
                                   Configuration pConfig); Object dispatchRequest(JmxRequest pJmxReq); boolean canHandle(JmxRequest pJmxRequest); boolean useReturnValueWithPath(JmxRequest pJmxRequest); static final String ALLOWED_TARGETS_SYSPROP; static final String ALLOWED_TARGETS_ENV; }
@Test public void useReturnValue() { assertTrue(dispatcher.useReturnValueWithPath(JmxRequestFactory.createGetRequest("/read/java.lang:type=Memory", procParams))); }