Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
This can probably be optionally captured by tRESTRequest and saved in the request context. The short term solution is to do, in Java,
HttpServletRequest req = (HttpServletRequest)org.apache.cxf.jaxrs.utils.JAXRSUtils.getCurrentMessage().get("HTTP.REQUEST");
and check the client info...
I'll open a minor new feature request in meantime
Cheers, Sergey
HttpServletRequest req = (HttpServletRequest)org.apache.cxf.jaxrs.utils.JAXRSUtils.getCurrentMessage().get("HTTP.REQUEST");
See http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getRemoteAddr()
HttpServletRequest req = (HttpServletRequest)org.apache.cxf.jaxrs.utils.JAXRSUtils.getCurrentMessage().getRemoteAddr();
System.out.println(req);
Execution failed : Job compile errors
At least job "ac_mq" has a compile errors, please fix and export again.
Error Line: 1841
Detail Message: The method getRemoteAddr() is undefined for the type Message
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.
Job ac_mq ended at 13:28 23/02/2017.