org.apache.jetspeed.portlet
Interface PortletHeaderResponse


Deprecated.

public interface PortletHeaderResponse

This interface is deprecated because head contribution from portlet is possible by the native portlet API in a JSR-286 compliant portal.

Version:
$Id$

Method Summary
 java.lang.String getContent()
          Deprecated. Temporary solution: get the content after calling include this will be deprecated
 java.util.Map getHeaderConfiguration()
          Deprecated. Configuration data for use by HeaderResource
 HeaderResource getHeaderResource()
          Deprecated. Retrieves the header resource for this request
 java.util.Map getHeaderResourceRegistry()
          Deprecated. Map containing overrides of content for header statements
 void include(PortletHeaderRequest request, PortletHeaderResponse response, java.lang.String headerResource)
          Deprecated. Dispatch to a servlet or resource to generate and include the header content
 boolean isDesktop()
          Deprecated. Is request for /desktop rather than /portal
 

Method Detail

getHeaderResource

HeaderResource getHeaderResource()
Deprecated. 
Retrieves the header resource for this request

Returns:
a per request HeaderResource

isDesktop

boolean isDesktop()
Deprecated. 
Is request for /desktop rather than /portal

Returns:
true if request is for /desktop, false if request is for /portal

getHeaderConfiguration

java.util.Map getHeaderConfiguration()
Deprecated. 
Configuration data for use by HeaderResource

Returns:
an immutable Map

getHeaderResourceRegistry

java.util.Map getHeaderResourceRegistry()
Deprecated. 
Map containing overrides of content for header statements

Returns:
an immutable Map

getContent

java.lang.String getContent()
Deprecated. 
Temporary solution: get the content after calling include this will be deprecated


include

void include(PortletHeaderRequest request,
             PortletHeaderResponse response,
             java.lang.String headerResource)
             throws javax.portlet.PortletException
Deprecated. 
Dispatch to a servlet or resource to generate and include the header content

Parameters:
request -
response -
headerResource -
Throws:
javax.portlet.PortletException


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.