private void init(PortletContext context, PortletRequest request, PortletResponse response,
FlowUrlHandler flowUrlHandler) {
this.context = context;
this.request = request;
this.response = response;
this.requestParameterMap = new LocalParameterMap(new PortletRequestParameterMap(request));
this.requestMap = new LocalAttributeMap<Object>(new PortletRequestMap(request));
this.sessionMap = new LocalSharedAttributeMap<Object>(new PortletSessionMap(request));
this.applicationMap = new LocalSharedAttributeMap<Object>(new PortletContextMap(context));
this.flowUrlHandler = flowUrlHandler;
if (request instanceof ActionRequest && response instanceof ActionResponse) {