Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2598

Refactor BridgePortletRequestFactory/BridgePortletResponseFactory method parameters

    Details

      Description

      The method signatures for the BridgePortletRequestFactory class are currently defined as:

      package com.liferay.faces.bridge.filter;
      public abstract class BridgePortletRequestFactory implements FacesWrapper<BridgePortletRequestFactory> {
      	public abstract ActionRequest getActionRequest(ActionRequest actionRequest);
      	public abstract EventRequest getEventRequest(EventRequest eventRequest);
      	public abstract RenderRequest getRenderRequest(RenderRequest renderRequest);
      	public abstract ResourceRequest getResourceRequest(ResourceRequest resourceRequest);
      }
      

      Similarly, the method signatures for the BridgePortletResponseFactory class are currently defined as:

      package com.liferay.faces.bridge.filter;
      public abstract class BridgePortletResponseFactory implements FacesWrapper<BridgePortletResponseFactory> {
      	public abstract ActionResponse getActionResponse(ActionResponse actionResponse);
      	public abstract EventResponse getEventResponse(EventResponse eventResponse);
      	public abstract RenderResponse getRenderResponse(RenderResponse renderResponse);
      	public abstract ResourceResponse getResourceResponse(ResourceResponse resourceResponse);
      }
      

      This task involves changing the method signatures such that the associated PortletResponse, PortletConfig, and BridgeConfig are included as well. This will provide the factories with greater ability to configure decorated implementations of PortletRequest/PortletResponse.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                bridge-api-2.0.0
                bridge-api-3.0.0
                bridge-api-4.0.0