12-30-2013 03:40 AM
Hi,
Is there a way to retrieve the User-Agent HTTP header in java code of a seam component or a listener ?
Thanks.
01-02-2014 06:49 AM
Hi,
We actually do this in the VideoActions seam component:
ExternalContext econtext = FacesContext.getCurrentInstance().getExternalContext();
HttpServletRequest request = (HttpServletRequest) econtext.getRequest();
return request.getHeader("User-Agent");
01-14-2014 08:55 AM
It works !
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.