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

Prune GenericFacesPortlet.getResponseCharacterSetEncoding() and GenericFacesPortlet.getResponseContentType() from the FacesBridge API

    Details

      Description

      The following methods first appeared in JSR 301 (Portlet 1.0 + JSF 1.2) but were deprecated in JSR 329 (Portlet 2.0 + JSF 1.2).

      This issue serves as a proposal for pruning these methods from the FacesBridge API:

      GenericFacesPortlet.java
      /**
       * @deprecated  This method is no longer used or called by the <code>GenericFacesPortlet</code> but retained in case
       *              a subclass has called it.
       *
       * @param       portletRequest  The current portlet request.
       *
       * @return      <code>null</code>
       */
      @Deprecated
      public String getResponseCharacterSetEncoding(PortletRequest portletRequest) {
      	return null;
      }
      
      /**
       * @deprecated  This method is no longer used or called by the <code>GenericFacesPortlet</code> but retained in case
       *              a subclass has called it.
       *
       * @param       portletRequest  The current portlet request.
       *
       * @return      The value obtained by calling {@link PortletRequest#getResponseContentType()}.
       */
      @Deprecated
      public String getResponseContentType(PortletRequest portletRequest) {
      	return portletRequest.getResponseContentType();
      }
       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: