Uploaded image for project: 'JBoss Portal'
  1. JBoss Portal
  2. JBPORTAL-2436

JBPC 2.0 : ResourceResponse.setCharacterEncoding always throws UnsupportedOperationException

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: Portlet-2.0
    • Fix Version/s: None
    • Component/s: Portal Core
    • Labels:
      None

      Description

      package org.jboss.portal.portlet.impl.jsr168.api;

      ...

      public class ResourceResponseImpl extends MimeResponseImpl implements ResourceResponse
      {
      ...
      public void setLocale(Locale locale)

      { throw new UnsupportedOperationException(); }

      public void setCharacterEncoding(String s)
      { throw new UnsupportedOperationException(); }

      public void setContentLength(int i)

      { throw new UnsupportedOperationException(); }

      ...
      }

      Problems come when you want to deploy your portlet on JBoss PortletContainer and on other portals. JSR-286 does not state that portals my throw UnsupportedOperationException.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  bdt Bernard de Terwangne
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: