@Override public String getResponseContentType() { return ((PortletRequest)wrapped).getResponseContentType(); }
/** * @return portletRequest.getResponseContentType() */ public String getResponseContentType() { return portletRequest.getResponseContentType(); }
/** * The default behavior of this method is to call * <code>getResponseContentType()</code> on the wrapped request object. */ public String getResponseContentType() { return request.getResponseContentType(); }
public String getResponseContentType() { return request.getResponseContentType(); }
public String getResponseContentType() { return request.getResponseContentType(); }
public String getResponseContentType() { return portletRequest.getResponseContentType(); }
/** * @deprecated -- no longer used or called by the <code>GenericFacesPortlet</code> but retained in case a subclass has * called it. * * * @return request.getResponseContentType(). */ @Deprecated public String getResponseContentType(PortletRequest request) { return request.getResponseContentType(); } }
/** * @deprecated -- no longer used or called by the <code>GenericFacesPortlet</code> * but retained in case a subclass has called it. * * * @return request.getResponseContentType(). */ @Deprecated public String getResponseContentType(PortletRequest request) { return request.getResponseContentType(); }
/** * @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(); }
/** * @deprecated as of JSR 329 Spec version 1.0 */ @Deprecated public String getResponseContentType(PortletRequest portletRequest) { // PROPOSED-FOR-STANDARD: https://issues.apache.org/jira/browse/PORTLETBRIDGE-210 // Since this is deprecated, proposal is to remove it entirely for the Bridge 3.0.0 Spec. return portletRequest.getResponseContentType(); }
public static String getResponseContentType() { PortletRequest portletRequest = getPortletRequest(); if (portletRequest == null) { throw new IllegalStateException( "The request is not PortletRequest."); } return portletRequest.getResponseContentType(); }
_portletResponse = portletResponse; _contentType = portletRequest.getResponseContentType(); _serverName = portletRequest.getServerName(); _serverPort = portletRequest.getServerPort();
/** * @see {@link ExternalContext#getResponseContentType()} */ @Override public String getResponseContentType() { if (portletResponse instanceof MimeResponse) { MimeResponse mimeResponse = (MimeResponse) portletResponse; String responseContentType = mimeResponse.getContentType(); if (responseContentType == null) { responseContentType = portletRequest.getResponseContentType(); } return responseContentType; } else { // TCK TestPage173: getResponseContentTypeActionTest // TCK TestPage174: getResponseContentTypeEventTest throw new IllegalStateException(); } }
/** * @see {@link ExternalContext#getResponseContentType()} */ @Override public String getResponseContentType() { if (portletResponse instanceof MimeResponse) { MimeResponse mimeResponse = (MimeResponse) portletResponse; String responseContentType = mimeResponse.getContentType(); if (responseContentType == null) { responseContentType = portletRequest.getResponseContentType(); } return responseContentType; } else { // TCK TestPage173: getResponseContentTypeActionTest // TCK TestPage174: getResponseContentTypeEventTest throw new IllegalStateException(); } }