You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am testing new serialize exception functionality included in 1.1.0-snapshot version. It works fine when I am trying it for example with curl like this:
However, I don't know how to programmatically set this functionality on. I think it would be nice if org.jolokia.client.request.J4pQueryParameter enum would contains SERIALIZE_EXCEPTION constant (similarly like ConfigKey enum). Then I think it will be possible to perform call like this:
Map<J4pQueryParameter,String> pProcessingOptions = new HashMap<J4pQueryParameter,String>();
pProcessingOptions.put(J4pQueryParameter.SERIALIZE_EXCEPTION, "true");
J4pClient j4pClient = new J4pClient(jolokiaUrl);
J4pExecRequest execReq = new J4pExecRequest(objectName, operationName);
j4pClient.execute(execReq, "POST", pProcessingOptions);
The text was updated successfully, but these errors were encountered:
The options serializeException, canonicalNaming and includeStacktrace has been added to the set of allowed query parameters for the Java client lib. #66
Hi,
I am testing new serialize exception functionality included in 1.1.0-snapshot version. It works fine when I am trying it for example with curl like this:
curl http://<host>/jolokia/write/<object-name>/<variable>/<value>?serializeException=true
However, I don't know how to programmatically set this functionality on. I think it would be nice if org.jolokia.client.request.J4pQueryParameter enum would contains SERIALIZE_EXCEPTION constant (similarly like ConfigKey enum). Then I think it will be possible to perform call like this:
The text was updated successfully, but these errors were encountered: