com.arsdigita.cms.dispatcher
Interface ResourceHandler

All Superinterfaces:
com.arsdigita.dispatcher.Dispatcher
All Known Implementing Classes:
CMSPage, ResourceHandlerImpl

public interface ResourceHandler
extends com.arsdigita.dispatcher.Dispatcher

An interface for resources that can be served.

Version:
$Revision: #7 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Michael Pih (pihman@arsdigita.com)

Field Summary
static String versionId
           
 
Method Summary
 ContentItem getContentItem(javax.servlet.http.HttpServletRequest request)
          Fetches the content item context for this resource.
 ContentSection getContentSection(javax.servlet.http.HttpServletRequest request)
          Fetches the content section context for this resource.
 void init()
          This method is called by the Dispatcher that initializes this page.
 
Methods inherited from interface com.arsdigita.dispatcher.Dispatcher
dispatch
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Method Detail

init

public void init()
          throws javax.servlet.ServletException
This method is called by the Dispatcher that initializes this page.

Throws:
javax.servlet.ServletException

getContentSection

public ContentSection getContentSection(javax.servlet.http.HttpServletRequest request)
Fetches the content section context for this resource.

Parameters:
request - The HTTP request
Returns:
A content section or null if there is none

getContentItem

public ContentItem getContentItem(javax.servlet.http.HttpServletRequest request)
Fetches the content item context for this resource.

Parameters:
request - The HTTP request
Returns:
A content item or null if there is none


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC