I am attempting to implement a new feature on our site, with code provided by a vendor. They have provided a .jar and example .jsp files. I am in the process of converting the jsp to HTL/WCMUsePojo class. In their .jsp example they have:
IXFSDKParameters parameters = new IXFSDKParameters(request);
IXFSDKClient client = new IXFSDKClient(ixfConfig, response, parameters);
From what I have found online, it appears in my WCMUsePojo class I should be able to get the request and response objects from getRequest() and getResponse(). I have tried getRequest() but it returns null.
Is there anything I'm missing in the java class? Our site uses many classes that extend WCMUsePojo but we have not tried to access the request/response objects from them before.