@Override public void addProperty(Cookie cookie) { response.addProperty(cookie); }
@Override public void addProperty(String key, org.w3c.dom.Element element) { response.addProperty(key, element); }
@Override public void addProperty(String key, String value) { response.addProperty(key, value); }
@Override public void addCookie(Cookie cookie) { response.addProperty(cookie); } }
/** * The default behavior of this method is to call * <code>addProperty()</code> on the wrapped response object. */ public void addProperty(Cookie cookie) { response.addProperty(cookie); }
/** * The default behavior of this method is to call * <code>addProperty(key, value)</code> on the wrapped response object. */ public void addProperty(String key, String value) { response.addProperty(key, value); }
/** * The default behavior of this method is to call * <code>addProperty()</code> on the wrapped response object. */ public void addProperty(String key, org.w3c.dom.Element element) { response.addProperty(key, element); }
@Override public void addCookie(Cookie cookie) { if (!included) { portletResponse.addProperty(cookie); } }
public void addProperty(String arg0, String arg1) { portletResponse.addProperty(arg0, arg1); }
public void addProperty(String s, String s1) { response.addProperty(s, s1); }
protected void addResponseCookie(Cookie cookie) { this.response.addProperty(cookie); }
protected void addResponseHeader(String name, String value) { this.response.addProperty(name, value); }
public static void addProperty(String arg0, String arg1) { PortletResponse portletResponse = getPortletResponse(); if (portletResponse == null) { throw new IllegalStateException( "The response is not PortletResponse."); } portletResponse.addProperty(arg0, arg1); }
@Override protected void addResourceToHeadSection(Element element, String nodeName) throws IOException { // NOTE: The Portlet 2.0 Javadocs for the addProperty method indicate that if the key already exists, // then the element will be added to any existing elements under that key name. There is a risk that // multiple portlet instances on the same portal page could cause multiple <script /> elements to be // added to the <head>...</head> section of the rendered portal page. See: // http://portals.apache.org/pluto/portlet-2.0-apidocs/javax/portlet/PortletResponse.html#addProperty(java.lang.String, // org.w3c.dom.Element) portletResponse.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, element); logger.debug(ADDED_RESOURCE_TO_HEAD, "portal", nodeName); } }
protected void addResponseHeadElement(Element element, String keyHint) { ClassLoader paCL = Thread.currentThread().getContextClassLoader(); try { Thread.currentThread().setContextClassLoader(this.response.getClass().getClassLoader()); this.response.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, element); } finally { Thread.currentThread().setContextClassLoader(paCL); } }
/** * @see {@link ExternalContext#addResponseCookie(String, String, Map)} * @since JSF 2.0 */ @Override public void addResponseCookie(String name, String value, Map<String, Object> properties) { Cookie cookie = createCookie(name, value, properties); portletResponse.addProperty(cookie); }
@Override protected void addResourceToHeadSection(Element element, String nodeName) throws IOException { // NOTE: The Portlet 2.0 Javadocs for the addProperty method indicate that if the key already exists, // then the element will be added to any existing elements under that key name. There is a risk that // multiple portlet instances on the same portal page could cause multiple <script /> elements to be // added to the <head>...</head> section of the rendered portal page. See: // http://portals.apache.org/pluto/portlet-2.0-apidocs/javax/portlet/PortletResponse.html#addProperty(java.lang.String, // org.w3c.dom.Element) portletResponse.addProperty(MimeResponse.MARKUP_HEAD_ELEMENT, element); logger.debug(ADDED_RESOURCE_TO_HEAD, "portal", nodeName); } }
/** * @see {@link ExternalContext#addResponseCookie(String, String, Map)} * @since JSF 2.0 */ @Override public void addResponseCookie(String name, String value, Map<String, Object> properties) { Cookie cookie = createCookie(name, value, properties); portletResponse.addProperty(cookie); }
public void addCookie(Cookie cookie) { getWrapped().addProperty(cookie); }
public void addCookie(Cookie cookie) { getWrapped().addProperty(cookie); }