com.ibm.portal.resolver
Interface HeaderContext

All Known Subinterfaces:
ActionContext, EventContext, MimeContext, PortletContext, RenderContext, ResourceContext, ServletContext

public interface HeaderContext

Provides access to header information

Since:
8.0

Method Summary
 java.lang.String getHeader(java.lang.String name)
          Returns the first header for a name or null if no such header exists
 IterableListModel<java.lang.String> getHeaderNames()
          Returns a sequence of the names of all headers
 IterableListModel<java.lang.String> getHeaders(java.lang.String name)
          Returns a sequence of all headers for a particular name
 

Method Detail

getHeader

java.lang.String getHeader(java.lang.String name)
Returns the first header for a name or null if no such header exists

Parameters:
name - the header name, not null
Returns:
the header value or null

getHeaderNames

IterableListModel<java.lang.String> getHeaderNames()
Returns a sequence of the names of all headers

Returns:
the sequence of names, not null but may be empty

getHeaders

IterableListModel<java.lang.String> getHeaders(java.lang.String name)
Returns a sequence of all headers for a particular name

Parameters:
name - the header name, not null
Returns:
the sequence, not null but may be empty