devicemap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Keil <>
Subject Fwd: [JIRA] (PORTLETSPEC3-63) Make user agent available to Portlets
Date Mon, 18 Apr 2016 10:25:54 GMT
User Agent will become a first class citizen of Portlet 3 API ;-)


---------- Forwarded message ----------
From: msnicklous (JIRA) <>
Date: Mon, Apr 18, 2016 at 9:02 AM
Subject: [JIRA] (PORTLETSPEC3-63) Make user agent available to Portlets


msnicklous commented on PORTLETSPEC3-63:

Based on feedback from the EG, the implementation will be changed. Instead
of using the PortletRequest#getProperty() method, a new method will be
introduced to obtain the user agent string:
String PortletRequest#getUserAgent()
This will be more in line with the way other HTTP header information is
obtained through the portlet API.

> Make user agent available to Portlets
> -------------------------------------
>                 Key: PORTLETSPEC3-63
>                 URL:
>             Project: portletspec3
>          Issue Type: New Feature
>            Reporter: msnicklous
>            Assignee: msnicklous
> We should make  the use agent available to portlets in a standard manner.
The alternatives are:
> 1) Add the PortletRequest#getUserAgent() method and specify that it
always must return the user agent string.
> 2) Change the spec so that PortletRequest#getProperty("User-Agent")
always must return the user agent string.
> 3) Require support for the javax.ccpp.Profile that can be obtained
> {code}
> Profile prof = (Profile)
> Attribute attr = prof.getAttribute(deviceAttribute);
> {code}
> I think I would choose #2 unless there are opinions to the contrary.

This message was sent by Atlassian JIRA

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message