Question

1
Replies
350
Views
Partha Dasgupta (ParthaD4038)
Virtusa - Polaris

Virtusa - Polaris
NL
ParthaD4038 Member since 2015 2 posts
Virtusa - Polaris
Posted: November 27, 2018
Last activity: January 31, 2019
Posted: 27 Nov 2018 9:33 EST
Last activity: 31 Jan 2019 7:07 EST
Closed

pxHTTPServletResponse is returning null in Authentication activity in Pega 7.3.1

In custom Authentication, I am getting access to any parameter in request object by code @java("((javax.servlet.http.HttpServletRequest)tools.getRequestor().getRequestorPage().getObject(\"pxHTTPServletRequest\")).getHeader (\"<ANY PARAMETER\")").

However when to access response object in the same authentication activity, it always returns null.

javax.servlet.http.HttpServletResponse resp = (javax.servlet.http.HttpServletResponse) tools.getRequestor().getRequestorPage().getObject("pxHTTPServletResponse");

the above snippet returns null value.

Is it bug in Pega 7.3.1?

Pega Platform Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.